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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10809052: Rename MoveMemory to MoveMemoryToMemory to fix compilation on Win32 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix flow_graph_compiler.h Created 8 years, 5 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
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 637afec47f78307950a5fc689a17e08a0c7c0075..794a1b8c18257dfe992e3cd2275f5abf9efd89d8 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -1134,7 +1134,7 @@ void ParallelMoveResolver::EmitMove(int index) {
__ movl(destination.reg(), ToAddress(source));
} else {
ASSERT(destination.IsSpillSlot());
- MoveMemory(ToAddress(destination), ToAddress(source));
+ MoveMemoryToMemory(ToAddress(destination), ToAddress(source));
}
} else {
ASSERT(source.IsConstant());
@@ -1185,7 +1185,8 @@ void ParallelMoveResolver::EmitSwap(int index) {
}
-void ParallelMoveResolver::MoveMemory(const Address& dst, const Address& src) {
+void ParallelMoveResolver::MoveMemoryToMemory(const Address& dst,
+ const Address& src) {
// TODO(vegorov): allocate temporary register for such moves.
__ pushl(EAX);
__ movl(EAX, src);
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698