Chromium Code Reviews| Index: runtime/vm/assembler_x64.cc |
| =================================================================== |
| --- runtime/vm/assembler_x64.cc (revision 40623) |
| +++ runtime/vm/assembler_x64.cc (working copy) |
| @@ -2629,6 +2629,11 @@ |
| } |
| +void Assembler::LoadIsolate(Register dst) { |
| + movq(dst, Immediate(reinterpret_cast<uword>(Isolate::Current()))); |
| +} |
| + |
| + |
| void Assembler::LoadObject(Register dst, const Object& object, Register pp) { |
| if (CanLoadFromObjectPool(object)) { |
| const int32_t offset = |