Index: src/builtins/setup-builtins-internal.cc |
diff --git a/src/builtins/setup-builtins-internal.cc b/src/builtins/setup-builtins-internal.cc |
index ccdb5ae22714e89b208581ccc70f51e4d1b10e94..ca88e6332b54796917e4ae7a212a5f837dcba883 100644 |
--- a/src/builtins/setup-builtins-internal.cc |
+++ b/src/builtins/setup-builtins-internal.cc |
@@ -41,9 +41,6 @@ |
MacroAssemblerGenerator generator, |
Code::Flags flags, const char* s_name) { |
HandleScope scope(isolate); |
- // Canonicalize handles, so that we can share constant pool entries pointing |
- // to code targets without dereferencing their handles. |
- CanonicalHandleScope canonical(isolate); |
const size_t buffer_size = 32 * KB; |
byte buffer[buffer_size]; // NOLINT(runtime/arrays) |
MacroAssembler masm(isolate, buffer, buffer_size, CodeObjectRequired::kYes); |
@@ -61,9 +58,6 @@ |
Builtins::ExitFrameType exit_frame_type, Code::Flags flags, |
const char* name) { |
HandleScope scope(isolate); |
- // Canonicalize handles, so that we can share constant pool entries pointing |
- // to code targets without dereferencing their handles. |
- CanonicalHandleScope canonical(isolate); |
const size_t buffer_size = 32 * KB; |
byte buffer[buffer_size]; // NOLINT(runtime/arrays) |
MacroAssembler masm(isolate, buffer, buffer_size, CodeObjectRequired::kYes); |
@@ -82,9 +76,6 @@ |
CodeAssemblerGenerator generator, int argc, |
Code::Flags flags, const char* name) { |
HandleScope scope(isolate); |
- // Canonicalize handles, so that we can share constant pool entries pointing |
- // to code targets without dereferencing their handles. |
- CanonicalHandleScope canonical(isolate); |
Zone zone(isolate->allocator(), ZONE_NAME); |
const int argc_with_recv = |
(argc == SharedFunctionInfo::kDontAdaptArgumentsSentinel) ? 0 : argc + 1; |
@@ -103,9 +94,6 @@ |
Code::Flags flags, const char* name, |
int result_size) { |
HandleScope scope(isolate); |
- // Canonicalize handles, so that we can share constant pool entries pointing |
- // to code targets without dereferencing their handles. |
- CanonicalHandleScope canonical(isolate); |
Zone zone(isolate->allocator(), ZONE_NAME); |
// The interface descriptor with given key must be initialized at this point |
// and this construction just queries the details from the descriptors table. |