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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 10909169: Add support for WritableRegister policy in the register allocator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 fe1c358ebf6cb11cfa548726e6bd1ac3b8a28574..fd7908b81ccd55aca23206aa7711df971413852b 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -913,7 +913,9 @@ void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) {
// Sequence node has one store node and one return NULL node.
__ movq(RAX, Address(RSP, 2 * kWordSize)); // Receiver.
__ movq(RBX, Address(RSP, 1 * kWordSize)); // Value.
- __ StoreIntoObject(RAX, FieldAddress(RAX, offset), RBX);
+ __ StoreIntoObject(RAX,
Ivan Posva 2012/09/11 11:57:30 ditto
Vyacheslav Egorov (Google) 2012/09/11 12:18:05 reverted
+ FieldAddress(RAX, offset),
+ RBX);
const Immediate raw_null =
Immediate(reinterpret_cast<intptr_t>(Object::null()));
__ movq(RAX, raw_null);

Powered by Google App Engine
This is Rietveld 408576698