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