| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 3e5d2b909b96f3d8c155a23824dcb1ebc1119b38..de67a1c1f2343b298a95ad59ea2352ed152b8a22 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1929,7 +1929,7 @@ void Isolate::Deinit() {
|
| deoptimizer_data_ = NULL;
|
| if (FLAG_preemption) {
|
| v8::Locker locker(reinterpret_cast<v8::Isolate*>(this));
|
| - v8::Locker::StopPreemption();
|
| + v8::Locker::StopPreemption(reinterpret_cast<v8::Isolate*>(this));
|
| }
|
| builtins_.TearDown();
|
| bootstrapper_->TearDown();
|
| @@ -2271,7 +2271,7 @@ bool Isolate::Init(Deserializer* des) {
|
|
|
| if (FLAG_preemption) {
|
| v8::Locker locker(reinterpret_cast<v8::Isolate*>(this));
|
| - v8::Locker::StartPreemption(100);
|
| + v8::Locker::StartPreemption(reinterpret_cast<v8::Isolate*>(this), 100);
|
| }
|
|
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
|
|