| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index cb1a463b3f73d5fa0821524006bc16311a523408..65f6df8c5239777a8bc0fc46ccd575ef2913fbb9 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(
|
|
|