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

Unified Diff: runtime/vm/assembler_arm_test.cc

Issue 593363003: Expands the use of Immediate and Operand wrappers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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/assembler_arm64_test.cc ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm_test.cc
===================================================================
--- runtime/vm/assembler_arm_test.cc (revision 40903)
+++ runtime/vm/assembler_arm_test.cc (working copy)
@@ -952,7 +952,7 @@
__ clz(R1, R0);
__ cmp(R1, Operand(0));
__ b(&error, NE);
- __ Lsr(R0, R0, 3);
+ __ Lsr(R0, R0, Operand(3));
__ clz(R1, R0);
__ cmp(R1, Operand(3));
__ b(&error, NE);
@@ -1031,8 +1031,8 @@
Label skip;
__ mov(R0, Operand(1));
- __ Lsl(R0, R0, 31);
- __ Lsr(R0, R0, 31);
+ __ Lsl(R0, R0, Operand(31));
+ __ Lsr(R0, R0, Operand(31));
__ bx(LR);
}
@@ -1048,8 +1048,8 @@
Label skip;
__ mov(R0, Operand(1));
- __ Lsl(R0, R0, 31);
- __ Asr(R0, R0, 31);
+ __ Lsl(R0, R0, Operand(31));
+ __ Asr(R0, R0, Operand(31));
__ bx(LR);
}
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698