| Index: src/v8threads.h
|
| diff --git a/src/v8threads.h b/src/v8threads.h
|
| index d8a923e3d86b25fed6a0775bc3c829e66bc129e9..3ba823a7202007fdd84c23f61bcc041d05b6ce2d 100644
|
| --- a/src/v8threads.h
|
| +++ b/src/v8threads.h
|
| @@ -152,12 +152,15 @@ class ContextSwitcher: public Thread {
|
| static void PreemptionReceived();
|
|
|
| private:
|
| - explicit ContextSwitcher(Isolate* isolate, int every_n_ms);
|
| + ContextSwitcher(Isolate* isolate, int every_n_ms);
|
| +
|
| + Isolate* isolate() const { return isolate_; }
|
|
|
| void Run();
|
|
|
| bool keep_going_;
|
| int sleep_ms_;
|
| + Isolate* isolate_;
|
| };
|
|
|
| } } // namespace v8::internal
|
|
|