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

Side by Side Diff: runtime/vm/flow_graph_compiler.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_x64.h ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/assembler_macros.h" 10 #include "vm/assembler_macros.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Execute a move by emitting a swap of two operands. The move from 119 // Execute a move by emitting a swap of two operands. The move from
120 // source to destination is removed from the move graph. 120 // source to destination is removed from the move graph.
121 void EmitSwap(int index); 121 void EmitSwap(int index);
122 122
123 // Verify the move list before performing moves. 123 // Verify the move list before performing moves.
124 void Verify(); 124 void Verify();
125 125
126 // Helpers for non-trivial source-destination combinations that cannot 126 // Helpers for non-trivial source-destination combinations that cannot
127 // be handled by a single instruction. 127 // be handled by a single instruction.
128 void MoveMemory(const Address& dst, const Address& src); 128 void MoveMemoryToMemory(const Address& dst, const Address& src);
129 void StoreObject(const Address& dst, const Object& obj); 129 void StoreObject(const Address& dst, const Object& obj);
130 void Exchange(Register reg, const Address& mem); 130 void Exchange(Register reg, const Address& mem);
131 void Exchange(const Address& mem1, const Address& mem2); 131 void Exchange(const Address& mem1, const Address& mem2);
132 132
133 FlowGraphCompiler* compiler_; 133 FlowGraphCompiler* compiler_;
134 134
135 // List of moves not yet resolved. 135 // List of moves not yet resolved.
136 GrowableArray<MoveOperands*> moves_; 136 GrowableArray<MoveOperands*> moves_;
137 }; 137 };
138 138
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 #include "vm/flow_graph_compiler_ia32.h" 179 #include "vm/flow_graph_compiler_ia32.h"
180 #elif defined(TARGET_ARCH_X64) 180 #elif defined(TARGET_ARCH_X64)
181 #include "vm/flow_graph_compiler_x64.h" 181 #include "vm/flow_graph_compiler_x64.h"
182 #elif defined(TARGET_ARCH_ARM) 182 #elif defined(TARGET_ARCH_ARM)
183 #include "vm/flow_graph_compiler_arm.h" 183 #include "vm/flow_graph_compiler_arm.h"
184 #else 184 #else
185 #error Unknown architecture. 185 #error Unknown architecture.
186 #endif 186 #endif
187 187
188 #endif // VM_FLOW_GRAPH_COMPILER_H_ 188 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.h ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698