-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117366 We should be checking if arrayModeForStructure(structure) is a subset of arrayModesThatPassFiltering(), not the other way around. Also renamed isContravenedByStructure to better reflect what the function is trying to determine. Rubber stamped by Filip Pizlo. * dfg/DFGArrayMode.h: (JSC::DFG::ArrayMode::structureWouldPassArrayModeFiltering): * dfg/DFGTypeCheckHoistingPhase.cpp: (JSC::DFG::TypeCheckHoistingPhase::noticeStructureCheckAccountingForArrayMode): (JSC::DFG::ArrayTypeCheck::isContravenedByValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d05719a4