| Index: runtime/vm/isolate.h
|
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
|
| index 128f7e22cafa3853a9ec070fc7c0843e1df44b35..195fdf8793c86aa025235dc0a7671b37c6d32d18 100644
|
| --- a/runtime/vm/isolate.h
|
| +++ b/runtime/vm/isolate.h
|
| @@ -130,6 +130,12 @@ class Isolate : public BaseIsolate {
|
| main_port_ = port;
|
| }
|
|
|
| + Dart_Port service_port() { return service_port_; }
|
| + void set_service_port(Dart_Port port) {
|
| + ASSERT(service_port_ == 0); // Only set service port once.
|
| + service_port_ = port;
|
| + }
|
| +
|
| Heap* heap() const { return heap_; }
|
| void set_heap(Heap* value) { heap_ = value; }
|
| static intptr_t heap_offset() { return OFFSET_OF(Isolate, heap_); }
|
| @@ -388,6 +394,7 @@ class Isolate : public BaseIsolate {
|
| char* name_;
|
| int64_t start_time_;
|
| Dart_Port main_port_;
|
| + Dart_Port service_port_;
|
| Heap* heap_;
|
| ObjectStore* object_store_;
|
| RawContext* top_context_;
|
|
|