| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index e614103b4d4a8695666e6f78e470703ac0454f31..264b7e63bfa31127a3b345a5831b5f3c6ff71995 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -8069,7 +8069,8 @@ static void TrySettingInlineConstructStub(Isolate* isolate,
|
| prototype = Handle<Object>(function->instance_prototype(), isolate);
|
| }
|
| if (function->shared()->CanGenerateInlineConstructor(*prototype)) {
|
| - ConstructStubCompiler compiler;
|
| + HandleScope scope(isolate);
|
| + ConstructStubCompiler compiler(isolate);
|
| MaybeObject* code = compiler.CompileConstructStub(*function);
|
| if (!code->IsFailure()) {
|
| function->shared()->set_construct_stub(
|
|
|