| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 6c2bdce26f9a2540adf5a66484d51103afc91628..4a0001fb9c8fe5d35a492889f309cae3862c45af 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1026,13 +1026,7 @@ void Compiler::RecompileConcurrent(Handle<JSFunction> closure) {
|
| // aborted optimization. In either case we want to continue executing
|
| // the unoptimized code without running into OSR. If the unoptimized
|
| // code has been patched for OSR, unpatch it.
|
| - InterruptStub interrupt_stub;
|
| - Handle<Code> interrupt_code = interrupt_stub.GetCode(isolate);
|
| - Handle<Code> replacement_code =
|
| - isolate->builtins()->OnStackReplacement();
|
| - Deoptimizer::RevertInterruptCode(shared->code(),
|
| - *interrupt_code,
|
| - *replacement_code);
|
| + Deoptimizer::RevertInterruptCode(isolate, shared->code());
|
| }
|
|
|
| if (isolate->has_pending_exception()) isolate->clear_pending_exception();
|
|
|