Index: runtime/vm/object_arm64_test.cc |
=================================================================== |
--- runtime/vm/object_arm64_test.cc (revision 36919) |
+++ runtime/vm/object_arm64_test.cc (working copy) |
@@ -17,6 +17,7 @@ |
// Generate a simple dart code sequence. |
// This is used to test Code and Instruction object creation. |
void GenerateIncrement(Assembler* assembler) { |
+ __ mov(SP, CSP); |
__ movz(R0, 0, 0); |
__ Push(R0); |
__ add(R0, R0, Operand(1)); |
@@ -34,6 +35,7 @@ |
void GenerateEmbedStringInCode(Assembler* assembler, const char* str) { |
const String& string_object = |
String::ZoneHandle(String::New(str, Heap::kOld)); |
+ __ mov(SP, CSP); |
__ TagAndPushPP(); // Save caller's pool pointer and load a new one here. |
__ LoadPoolPointer(PP); |
__ LoadObject(R0, string_object, PP); |