| Index: runtime/vm/isolate.h
|
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
|
| index c896a564c8587b4d4f0ad52993d10d4a2b455f20..ea2b9b571913a4c230bf092595354c2a14aedc20 100644
|
| --- a/runtime/vm/isolate.h
|
| +++ b/runtime/vm/isolate.h
|
| @@ -8,6 +8,7 @@
|
| #include "include/dart_api.h"
|
| #include "platform/assert.h"
|
| #include "platform/thread.h"
|
| +#include "vm/gc_callbacks.h"
|
| #include "vm/store_buffer.h"
|
| #include "vm/timer.h"
|
|
|
| @@ -232,6 +233,14 @@ class Isolate {
|
| static void SetInterruptCallback(Dart_IsolateInterruptCallback cback);
|
| static Dart_IsolateInterruptCallback InterruptCallback();
|
|
|
| + GcPrologueCallbacks& gc_prologue_callbacks() {
|
| + return gc_prologue_callbacks_;
|
| + }
|
| +
|
| + GcEpilogueCallbacks& gc_epilogue_callbacks() {
|
| + return gc_epilogue_callbacks_;
|
| + }
|
| +
|
| private:
|
| Isolate();
|
|
|
| @@ -273,6 +282,8 @@ class Isolate {
|
| uword stack_limit_;
|
| uword saved_stack_limit_;
|
| MessageHandler* message_handler_;
|
| + GcPrologueCallbacks gc_prologue_callbacks_;
|
| + GcEpilogueCallbacks gc_epilogue_callbacks_;
|
|
|
| static Dart_IsolateCreateCallback create_callback_;
|
| static Dart_IsolateInterruptCallback interrupt_callback_;
|
|
|