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

Unified Diff: runtime/vm/assembler_arm64_test.cc

Issue 255543007: Fix build 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 | « no previous file | runtime/vm/object_arm64_test.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 35373)
+++ runtime/vm/assembler_arm64_test.cc (working copy)
@@ -1177,10 +1177,10 @@
// Loading immediate values with the object pool.
ASSEMBLER_TEST_GENERATE(LoadImmediatePPSmall, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 42, PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1192,10 +1192,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPMed, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0xf1234123, PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1207,10 +1207,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPMed2, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0x4321f1234124, PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1222,10 +1222,10 @@
ASSEMBLER_TEST_GENERATE(LoadImmediatePPLarge, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadImmediate(R0, 0x9287436598237465, PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1239,10 +1239,10 @@
// LoadObject null.
ASSEMBLER_TEST_GENERATE(LoadObjectNull, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Object::null_object(), PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1255,10 +1255,10 @@
ASSEMBLER_TEST_GENERATE(LoadObjectTrue, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Bool::True(), PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1271,10 +1271,10 @@
ASSEMBLER_TEST_GENERATE(LoadObjectFalse, assembler) {
- __ PushPP(); // Save caller's pool pointer and load a new one here.
+ __ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, Bool::False(), PP);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
@@ -1292,7 +1292,7 @@
// R1: value.
// R2: growable array.
ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) {
- __ PushPP();
+ __ TagAndPushPP();
__ LoadPoolPointer(PP);
__ Push(CTX);
__ Push(LR);
@@ -1302,7 +1302,7 @@
R1);
__ Pop(LR);
__ Pop(CTX);
- __ PopPP();
+ __ PopAndUntagPP();
__ ret();
}
« no previous file with comments | « no previous file | runtime/vm/object_arm64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698