WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148286
DFG should have a KnownBooleanUse for cases where we are required to know that the child is a boolean and it's not OK to speculate
https://bugs.webkit.org/show_bug.cgi?id=148286
Summary
DFG should have a KnownBooleanUse for cases where we are required to know tha...
Filip Pizlo
Reported
2015-08-20 20:37:10 PDT
Patch forthcoming.
Attachments
the patch
(12.83 KB, patch)
2015-08-20 20:38 PDT
,
Filip Pizlo
benjamin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2015-08-20 20:38:52 PDT
Created
attachment 259581
[details]
the patch
Benjamin Poulain
Comment 2
2015-08-20 20:47:52 PDT
Comment on
attachment 259581
[details]
the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=259581&action=review
> Source/JavaScriptCore/dfg/DFGSafeToExecute.h:79 > + if (m_state.forNode(edge).m_type & ~BooleanUse)
Fishy. Is that BooleanUse right?
Filip Pizlo
Comment 3
2015-08-20 20:56:11 PDT
(In reply to
comment #2
)
> Comment on
attachment 259581
[details]
> the patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=259581&action=review
> > > Source/JavaScriptCore/dfg/DFGSafeToExecute.h:79 > > + if (m_state.forNode(edge).m_type & ~BooleanUse) > > Fishy. Is that BooleanUse right?
Yeah. :-) Fixed locally.
Filip Pizlo
Comment 4
2015-08-20 21:00:02 PDT
Landed in
http://trac.webkit.org/changeset/188747
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug