Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(897)

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 207063002: Refactor to support multiple outputs in location summary (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_compiler_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index 638f612b264e02a74124c0abafe91db75e0ba55d..249bfee025a18224a21c6c96f998b1f9c7924705 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -715,7 +715,7 @@ void FlowGraphCompiler::EmitInstructionEpilogue(Instruction* instr) {
}
Definition* defn = instr->AsDefinition();
if ((defn != NULL) && defn->is_used()) {
- Location value = defn->locs()->out();
+ Location value = defn->locs()->out(0);
if (value.IsRegister()) {
__ pushq(value.reg());
} else {

Powered by Google App Engine
This is Rietveld 408576698