From b71f411a663b9f4bf72de810169f47508eee4299 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Wed, 1 Nov 2023 01:24:40 +0800 Subject: [PATCH] tmp --- ses_layout.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 1dd9df3..bf2e0e1 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1281,9 +1281,16 @@ int ses_layout_function(ScfEfunction* f, int d) __ses_de_cross(f, d); + __ses_setc_xy(f, d); + __ses_xchg_cx(f, d); + __ses_xchg_ce(f, d); + scf_loge("\n"); __ses_get_crosses(f, d, crosses1); + __ses_mov_pos(f, d); + __ses_layout_cx(f, d); + scf_vector_clear(crosses0, ( void (*)(void*) )ses_edge_free); scf_vector_clear(crosses1, ( void (*)(void*) )ses_edge_free); scf_vector_free(crosses0); @@ -1291,12 +1298,6 @@ int ses_layout_function(ScfEfunction* f, int d) crosses0 = NULL; crosses1 = NULL; - __ses_setc_xy(f, d); - __ses_xchg_cx(f, d); - __ses_xchg_ce(f, d); - __ses_mov_pos(f, d); - __ses_layout_cx(f, d); - int tx0 = INT_MAX; int tx1 = 0; -- 2.25.1