Bug 64759 - DFG JIT does not optimize strict equality as effectively as the old JIT does
Summary: DFG JIT does not optimize strict equality as effectively as the old JIT does
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 15:13 PDT by Filip Pizlo
Modified: 2011-07-18 17:36 PDT (History)
3 users (show)

See Also:


Attachments
the patch (12.00 KB, patch)
2011-07-18 15:18 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.