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

Unified Diff: runtime/vm/assembler_arm64_test.cc

Issue 241573002: Code patching for ARM64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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.cc ('k') | runtime/vm/code_patcher_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64_test.cc
===================================================================
--- runtime/vm/assembler_arm64_test.cc (revision 35109)
+++ runtime/vm/assembler_arm64_test.cc (working copy)
@@ -1177,10 +1177,10 @@
// Loading immediate values with the object pool.
ASSEMBLER_TEST_GENERATE(LoadImmediatePPSmall, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 42, PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1192,10 +1192,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPMed, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0xf1234123, PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1207,10 +1207,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPMed2, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0x4321f1234124, PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1222,10 +1222,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPLarge, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0x9287436598237465, PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1239,10 +1239,10 @@
// LoadObject null.
ASSEMBLER_TEST_GENERATE(LoadObjectNull, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Object::null_object(), PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1255,10 +1255,10 @@
ASSEMBLER_TEST_GENERATE(LoadObjectTrue, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Bool::True(), PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
@@ -1271,10 +1271,10 @@
ASSEMBLER_TEST_GENERATE(LoadObjectFalse, assembler) {
- __ Push(PP); // Save caller's pool pointer and load a new one here.
+ __ PushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Bool::False(), PP);
- __ Pop(PP);
+ __ PopPP();
__ ret();
}
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/code_patcher_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698