diff options
Diffstat (limited to 'src/gtkext/graph/nodes')
-rw-r--r-- | src/gtkext/graph/nodes/flow.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gtkext/graph/nodes/flow.c b/src/gtkext/graph/nodes/flow.c index 343f916..e19cacb 100644 --- a/src/gtkext/graph/nodes/flow.c +++ b/src/gtkext/graph/nodes/flow.c @@ -827,6 +827,8 @@ static void g_flow_node_setup_entry_slots(GFlowNode *node) size_t used; /* Nombre de liens utilisés */ g_flow_block_get_boundary(node->block, &first, NULL); + + g_arch_instruction_rlock_src(first); icount = g_arch_instruction_get_sources(first, &instrs, &types); usable = 0; @@ -892,6 +894,8 @@ static void g_flow_node_setup_entry_slots(GFlowNode *node) assert(used == usable); + g_arch_instruction_runlock_src(first); + } @@ -918,6 +922,8 @@ static void g_flow_node_setup_exit_slots(GFlowNode *node) size_t used; /* Nombre de liens utilisés */ g_flow_block_get_boundary(node->block, NULL, &last); + + g_arch_instruction_rlock_dest(last); icount = g_arch_instruction_get_destinations(last, &instrs, &types, NULL); usable = 0; @@ -983,6 +989,8 @@ static void g_flow_node_setup_exit_slots(GFlowNode *node) assert(used == usable); + g_arch_instruction_runlock_dest(last); + } |