Bug 117366

Summary: isContravenedByStructure is backwards
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch fpizlo: review+

Mark Hahnenberg
Reported 2013-06-07 17:02:14 PDT
We should be checking if arrayModeForStructure(structure) is a subset of arrayModesThatPassFiltering(), not the other way around.
Attachments
Patch (1.38 KB, patch)
2013-06-07 17:03 PDT, Mark Hahnenberg
fpizlo: review+
Mark Hahnenberg
Comment 1 2013-06-07 17:03:22 PDT
Filip Pizlo
Comment 2 2013-06-07 17:10:31 PDT
Comment on attachment 204075 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204075&action=review > Source/JavaScriptCore/dfg/DFGArrayMode.h:366 > bool isContravenedByStructure(Structure* structure) Can we make it clearer that the thing that was proven was the structure? What about having a method called: structureWouldPassArrayModeFiltering(Structure*) RS=me to make a change like that
Mark Hahnenberg
Comment 3 2013-06-11 13:53:42 PDT
Note You need to log in before you can comment on or make changes to this bug.