Description[Interpreter] Avoid dereferencing handles in ConstantPoolArrayBuilder.
Changes ConstantPoolArrayBuilder to do object lookups using the location
of the handles, rather than dereferencing the handles and comparing the
objects. This also updates CanonicalHandleScope when internalizing AST
nodes to ensure that duplicate objects share the same handles and so are
only added to the constant pool once.
BUG=v8:5203
Committed: https://crrev.com/297f2d831a569cf253374ac36841b1e1cb70f601
Cr-Commit-Position: refs/heads/master@{#38366}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments #
Dependent Patchsets: Messages
Total messages: 24 (18 generated)
|