| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index 87ab7eb1e1eac09388d0032441997c3381beb942..0cb5b8a0c24bfad92d01fbd0601892122b28a582 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -889,6 +889,20 @@ uword Isolate::GetCurrentStackPointer() {
|
| }
|
|
|
|
|
| +void Isolate::SetupInstructionsSnapshotPage(
|
| + const uint8_t* instructions_snapshot_buffer) {
|
| + InstructionsSnapshot snapshot(instructions_snapshot_buffer);
|
| +#if defined(DEBUG)
|
| + OS::Print("Precompiled instructions are at [0x%" Px ", 0x%" Px ")\n",
|
| + reinterpret_cast<uword>(snapshot.instructions_start()),
|
| + reinterpret_cast<uword>(snapshot.instructions_start()) +
|
| + snapshot.instructions_size());
|
| +#endif
|
| + heap_->SetupInstructionsSnapshotPage(snapshot.instructions_start(),
|
| + snapshot.instructions_size());
|
| +}
|
| +
|
| +
|
| void Isolate::set_debugger_name(const char* name) {
|
| free(debugger_name_);
|
| debugger_name_ = strdup(name);
|
|
|