| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 9f5e78d5c14331f37014593ef3aebe3cc8346d6e..30cfc758585b22ada773ab41db723e74a2a46e2c 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -8175,15 +8175,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CompileForOnStackReplacement) {
|
| function->PrintName();
|
| PrintF("]\n");
|
| }
|
| - Handle<Code> check_code;
|
| - if (FLAG_count_based_interrupts) {
|
| - InterruptStub interrupt_stub;
|
| - check_code = interrupt_stub.GetCode();
|
| - } else // NOLINT
|
| - { // NOLINT
|
| - StackCheckStub check_stub;
|
| - check_code = check_stub.GetCode();
|
| - }
|
| + InterruptStub interrupt_stub;
|
| + Handle<Code> check_code = interrupt_stub.GetCode();
|
| Handle<Code> replacement_code = isolate->builtins()->OnStackReplacement();
|
| Deoptimizer::RevertStackCheckCode(*unoptimized,
|
| *check_code,
|
|
|