Description[turbofan] Pseudo-inline 'instanceof'
This patch extends the typed lowering with a specialized version of 'instanceof' that is used if the "class", i.e. the constructor function, is a known constant.
Unittests check that replacement occurs as intended. Functional correctness is ensured by extensive unit tests covering instanceof already in the testsuite.
TESTS=unittests/JSTypedLoweringTest.{JSInstanceOfSpecializationWithSmiCheck,JSInstanceOfSpecializationWithoutSmiCheck,JSInstanceOfNoSpecialization}
Committed: https://crrev.com/45787501e5b9d0e225210ef9d2837b8ca6d8d73d
Cr-Commit-Position: refs/heads/master@{#31916}
Patch Set 1 : 1st draft #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : Pre-dinner try #
Total comments: 10
Patch Set 7 : Reviewer's comments #
Total comments: 10
Patch Set 8 : #Patch Set 9 : #
Total comments: 2
Patch Set 10 : #
Messages
Total messages: 25 (12 generated)
|