This phase is broken because it can lead to patterns that we don't know how to generate.
rdar://problem/32978808
Created attachment 316409 [details] Patch
Created attachment 316411 [details] Patch
Comment on attachment 316411 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316411&action=review > Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:138 > + // FIXME: We should add back the broken folding phase here for comparisions with thing we prove one side has type SpecOther. thing => things. Also, please add bug URL or remove FIXME.
Comment on attachment 316411 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316411&action=review >> Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:138 >> + // FIXME: We should add back the broken folding phase here for comparisions with thing we prove one side has type SpecOther. > > thing => things. > > Also, please add bug URL or remove FIXME. Fixed.
Landed in: https://trac.webkit.org/changeset/219895/webkit