Description[crankshaft] Properly optimize strict equality with constants.
For values with canonical representation (i.e. not Number, Simd128Value
or Number) we can turn a strict equality comparison to a direct pointer
comparison. This removes the weird performance cliff when using a null
or undefined constant instead of the literals.
R=jarin@chromium.org
BUG=v8:5042
Committed: https://crrev.com/1f51868401a61b2fa19798e866a5a184e0226948
Cr-Commit-Position: refs/heads/master@{#36612}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|