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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.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_ia32.cc
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
index 8d75c74b3131af9c2f499d5b9c53b72e22842a89..117b81bb7593390801a968c481e20284ddb72b0b 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -906,7 +906,9 @@ void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) {
// Sequence node has one store node and one return NULL node.
__ movl(EAX, Address(ESP, 2 * kWordSize)); // Receiver.
__ movl(EBX, Address(ESP, 1 * kWordSize)); // Value.
- __ StoreIntoObject(EAX, FieldAddress(EAX, offset), EBX);
+ __ StoreIntoObject(EAX,
Ivan Posva 2012/09/11 11:57:30 Why this change?
Vyacheslav Egorov (Google) 2012/09/11 12:18:05 Initially I was also passing additional argument,
+ FieldAddress(EAX, offset),
+ EBX);
const Immediate raw_null =
Immediate(reinterpret_cast<intptr_t>(Object::null()));
__ movl(EAX, raw_null);

Powered by Google App Engine
This is Rietveld 408576698