| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index b4daf5ee24d7969867b270832195a0844cd4d148..00a32e580d48793e3250f99885fe0c915bf0e580 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -2185,11 +2185,6 @@ MaybeLocal<Script> ScriptCompiler::Compile(Local<Context> context,
|
| source->info->set_script(script);
|
| source->info->set_context(isolate->native_context());
|
|
|
| - // Create a canonical handle scope before internalizing parsed values if
|
| - // compiling bytecode. This is required for off-thread bytecode generation.
|
| - std::unique_ptr<i::CanonicalHandleScope> canonical;
|
| - if (i::FLAG_ignition) canonical.reset(new i::CanonicalHandleScope(isolate));
|
| -
|
| // Do the parsing tasks which need to be done on the main thread. This will
|
| // also handle parse errors.
|
| source->parser->Internalize(isolate, script,
|
|
|