From: yu.dongliang <18588496441@163.com> Date: Tue, 31 Oct 2023 17:24:40 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=b71f411a663b9f4bf72de810169f47508eee4299;p=ses.git tmp --- 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;