equal
deleted
inserted
replaced
3313 |
3313 |
3314 Final_Reshape_Counts frc; |
3314 Final_Reshape_Counts frc; |
3315 |
3315 |
3316 // Visit everybody reachable! |
3316 // Visit everybody reachable! |
3317 // Allocate stack of size C->unique()/2 to avoid frequent realloc |
3317 // Allocate stack of size C->unique()/2 to avoid frequent realloc |
3318 Node_Stack nstack(unique() >> 1); |
3318 Node_Stack nstack(live_nodes() >> 1); |
3319 final_graph_reshaping_walk(nstack, root(), frc); |
3319 final_graph_reshaping_walk(nstack, root(), frc); |
3320 |
3320 |
3321 // Check for unreachable (from below) code (i.e., infinite loops). |
3321 // Check for unreachable (from below) code (i.e., infinite loops). |
3322 for( uint i = 0; i < frc._tests.size(); i++ ) { |
3322 for( uint i = 0; i < frc._tests.size(); i++ ) { |
3323 MultiBranchNode *n = frc._tests[i]->as_MultiBranch(); |
3323 MultiBranchNode *n = frc._tests[i]->as_MultiBranch(); |