Index: runtime/vm/object_x64_test.cc |
=================================================================== |
--- runtime/vm/object_x64_test.cc (revision 30084) |
+++ runtime/vm/object_x64_test.cc (working copy) |
@@ -34,9 +34,10 @@ |
void GenerateEmbedStringInCode(Assembler* assembler, const char* str) { |
const String& string_object = |
String::ZoneHandle(String::New(str, Heap::kOld)); |
- __ EnterDartFrame(0); |
+ __ pushq(PP); // Save caller's pool pointer and load a new one here. |
+ __ LoadPoolPointer(PP); |
__ LoadObject(RAX, string_object, PP); |
- __ LeaveFrameWithPP(); |
+ __ popq(PP); // Restore caller's pool pointer. |
__ ret(); |
} |