Commit 3a67a193 authored by qinsoon's avatar qinsoon

forgot emitting ireg for RetVal

parent 9f368125
...@@ -1437,9 +1437,12 @@ impl <'a> InstructionSelection { ...@@ -1437,9 +1437,12 @@ impl <'a> InstructionSelection {
let ref ops = inst.ops; let ref ops = inst.ops;
let ref op = ops[index]; let ref op = ops[index];
assert!(self.match_ireg(op));
let retval = self.emit_ireg(op, f_content, f_context, vm);
self.emit_runtime_entry( self.emit_runtime_entry(
&entrypoints::SET_RETVAL, &entrypoints::SET_RETVAL,
vec![op.clone_value()], vec![retval],
None, None,
Some(node), f_content, f_context, vm Some(node), f_content, f_context, vm
); );
......
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