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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 10543013: More code for ia32, more shared code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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/assembler_x64.cc
===================================================================
--- runtime/vm/assembler_x64.cc (revision 8338)
+++ runtime/vm/assembler_x64.cc (working copy)
@@ -1289,6 +1289,18 @@
}
+void Assembler::CompareRegisters(Register a, Register b) {
+ cmpq(a, b);
+}
+
+
+void Assembler::MoveRegister(Register to, Register from) {
+ if (to != from) {
+ movq(to, from);
+ }
+}
+
+
void Assembler::AddImmediate(Register reg, const Immediate& imm) {
int64_t value = imm.value();
if (value > 0) {

Powered by Google App Engine
This is Rietveld 408576698