| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 5afaf2f5051d5ccc9cf0e4b53e722484ba7ff111..2803b11f1ae677f698f17a493e7bcedbf6c2ff99 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -7972,7 +7972,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(
|
|
|