Commit 33a88450 authored by qinsoon's avatar qinsoon

fix a bug introduced by refactoring start/finish block

parent 21930142
...@@ -423,11 +423,10 @@ impl <'a> InstructionSelection { ...@@ -423,11 +423,10 @@ impl <'a> InstructionSelection {
self.start_block(blk_true.clone()); self.start_block(blk_true.clone());
// mov true value -> result // mov true value -> result
self.emit_move_node_to_value(&tmp_res, &true_val, f_content, f_context, vm); self.emit_move_node_to_value(&tmp_res, &true_val, f_content, f_context, vm);
self.finish_block();
self.backend.end_block(blk_true.clone());
// blk_end: // blk_end:
self.finish_block(); self.start_block(blk_end.clone());
} }
} }
} else if self.match_fpreg(true_val) { } else if self.match_fpreg(true_val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment