| Index: src/interpreter/setup-interpreter-internal.cc
|
| diff --git a/src/interpreter/setup-interpreter-internal.cc b/src/interpreter/setup-interpreter-internal.cc
|
| index 9adf70dffa8ad964ced0a3d5aeac80106c901f08..773b4d0cabdb082c497ecb653861ea9997ff656c 100644
|
| --- a/src/interpreter/setup-interpreter-internal.cc
|
| +++ b/src/interpreter/setup-interpreter-internal.cc
|
| @@ -18,6 +18,9 @@ namespace interpreter {
|
| void SetupInterpreter::InstallBytecodeHandlers(Interpreter* interpreter) {
|
| DCHECK(!interpreter->IsDispatchTableInitialized());
|
| HandleScope scope(interpreter->isolate_);
|
| + // Canonicalize handles, so that we can share constant pool entries pointing
|
| + // to code targets without dereferencing their handles.
|
| + CanonicalHandleScope canonical(interpreter->isolate_);
|
| Address* dispatch_table = interpreter->dispatch_table_;
|
|
|
| // Generate bytecode handlers for all bytecodes and scales.
|
|
|