| Index: src/d8.cc
 | 
| diff --git a/src/d8.cc b/src/d8.cc
 | 
| index 1c6e453f2a96bfcada6ce5e99c3155b7b4c52949..6eb7248b0e8fa0d84b802f59132cf29c1931d0c6 100644
 | 
| --- a/src/d8.cc
 | 
| +++ b/src/d8.cc
 | 
| @@ -1528,7 +1528,7 @@ int Shell::RunMain(Isolate* isolate, int argc, char* argv[]) {
 | 
|      // Start preemption if threads have been created and preemption is enabled.
 | 
|      if (threads.length() > 0
 | 
|          && options.use_preemption) {
 | 
| -      Locker::StartPreemption(options.preemption_interval);
 | 
| +      Locker::StartPreemption(isolate, options.preemption_interval);
 | 
|      }
 | 
|  #endif  // V8_SHARED
 | 
|    }
 | 
| @@ -1546,7 +1546,7 @@ int Shell::RunMain(Isolate* isolate, int argc, char* argv[]) {
 | 
|  
 | 
|    if (threads.length() > 0 && options.use_preemption) {
 | 
|      Locker lock(isolate);
 | 
| -    Locker::StopPreemption();
 | 
| +    Locker::StopPreemption(isolate);
 | 
|    }
 | 
|  #endif  // V8_SHARED
 | 
|    return 0;
 | 
| 
 |