Index: runtime/vm/flow_graph_compiler_ia32.cc |
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc |
index 46a73d794c7a66919065ce7f5838cabbca29fee5..4e54165a040c5b23e5749c2643ececb46b8c7c9e 100644 |
--- a/runtime/vm/flow_graph_compiler_ia32.cc |
+++ b/runtime/vm/flow_graph_compiler_ia32.cc |
@@ -604,6 +604,15 @@ void FlowGraphCompiler::EmitInstructionPrologue(Instruction* instr) { |
} |
+void FlowGraphCompiler::EmitInstructionEpilogue(Instruction* instr) { |
+ if (is_optimizing()) return; |
+ Definition* defn = instr->AsDefinition(); |
+ if ((defn != NULL) && defn->is_used()) { |
+ __ pushl(defn->locs()->out().reg()); |
+ } |
+} |
+ |
+ |
void FlowGraphCompiler::CopyParameters() { |
__ Comment("Copy parameters"); |
const Function& function = parsed_function().function(); |