Bug 64759

Summary: DFG JIT does not optimize strict equality as effectively as the old JIT does
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, fpizlo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch none

Description Filip Pizlo 2011-07-18 15:13:36 PDT
The old JSC JIT optimizes strict equality (===) by having a fast path for when one operand is not a cell, and neither operand is a number.  The DFG JIT only has fast-path optimizations for strict equality that speculate that both operands are integers.  The DFG JIT should have similar optimizations to the old JIT for strict equality.
Comment 1 Filip Pizlo 2011-07-18 15:18:54 PDT
Created attachment 101218 [details]
the patch
Comment 2 WebKit Review Bot 2011-07-18 17:36:50 PDT
Comment on attachment 101218 [details]
the patch

Clearing flags on attachment: 101218

Committed r91226: <http://trac.webkit.org/changeset/91226>
Comment 3 WebKit Review Bot 2011-07-18 17:36:54 PDT
All reviewed patches have been landed.  Closing bug.