| Index: vm/flow_graph_compiler.cc
|
| ===================================================================
|
| --- vm/flow_graph_compiler.cc (revision 9930)
|
| +++ vm/flow_graph_compiler.cc (working copy)
|
| @@ -599,7 +599,9 @@
|
| locs->set_in(i, Location::RegisterLocation(reg));
|
| }
|
|
|
| - Pop(reg, instr->InputAt(i));
|
| + // Inputs are consumed from the simulated frame. In case of a call argument
|
| + // we leave it until the call instruction.
|
| + if (!instr->IsPushArgument()) Pop(reg, instr->InputAt(i));
|
| }
|
|
|
| // If this instruction is call spill everything that was not consumed by
|
|
|