Bug 68485 - DFG JIT always speculates integer on modulo
Summary: DFG JIT always speculates integer on modulo
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-09-20 15:59 PDT by Filip Pizlo
Modified: 2011-09-20 19:22 PDT (History)
3 users (show)

See Also:


Attachments
the patch (5.99 KB, patch)
2011-09-20 16:01 PDT, Filip Pizlo
oliver: review+
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-09-20 15:59:00 PDT
The DFG JIT always speculates that the inputs to a modulo (%) are integers, even when they aren't.
Comment 1 Filip Pizlo 2011-09-20 16:01:52 PDT
Created attachment 108068 [details]
the patch
Comment 2 Oliver Hunt 2011-09-20 16:25:05 PDT
Comment on attachment 108068 [details]
the patch

r=me
Comment 3 Filip Pizlo 2011-09-20 19:22:26 PDT
Landed in r95594.