File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,19 @@ def split_blocks_at_uninits(
69
69
and not (isinstance (op , Branch ) and op .op == Branch .IS_ERROR )
70
70
and not isinstance (op , LoadAddress )
71
71
):
72
- new_block , error_block = BasicBlock (), BasicBlock ()
73
- new_block .error_handler = error_block .error_handler = cur_block .error_handler
74
- new_blocks += [error_block , new_block ]
75
-
76
72
if src not in init_registers_set :
77
73
init_registers .append (src )
78
74
init_registers_set .add (src )
79
75
76
+ # XXX: if src.name is empty, it should be a
77
+ # temp... and it should be OK??
78
+ if not src .name :
79
+ continue
80
+
81
+ new_block , error_block = BasicBlock (), BasicBlock ()
82
+ new_block .error_handler = error_block .error_handler = cur_block .error_handler
83
+ new_blocks += [error_block , new_block ]
84
+
80
85
if not src .type .error_overlap :
81
86
cur_block .ops .append (
82
87
Branch (
You can’t perform that action at this time.
0 commit comments