Description[turbofan] Improve fast case of JSInstanceOf lowering.
For O instanceof C, we only need to check the instance type while
iterating the prototypes of O instead of checking both the instance
type and the access check bit of the map. This is because we have
the explicit range of "special object types", which include both
JSProxy as well as the global object and proxy and all API objects
that might have access checks or interceptors. Also restructure the
loop exits somewhat to ensure that the branch cloning gets a chance
to actually eliminate the bit materialization for the results.
R=jarin@chromium.org
Committed: https://crrev.com/b5629a108c1a95d923f4e42b2d5a61fb944a00fa
Cr-Commit-Position: refs/heads/master@{#38860}
Patch Set 1 #
Total comments: 2
Patch Set 2 : REBASE #Patch Set 3 : Renaming based on comment #
Messages
Total messages: 25 (16 generated)
|