-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116841 Reviewed by Mark Hahnenberg. Source/JavaScriptCore: * dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compileArithMod): LayoutTests: * fast/js/dfg-mod-by-neg1-and-then-or-zero-interesting-reg-alloc-expected.txt: Added. * fast/js/dfg-mod-by-neg1-and-then-or-zero-interesting-reg-alloc.html: Added. * fast/js/dfg-mod-by-zero-and-then-or-zero-interesting-reg-alloc-expected.txt: Added. * fast/js/dfg-mod-by-zero-and-then-or-zero-interesting-reg-alloc.html: Added. * fast/js/dfg-mod-neg2tothe31-by-one-and-then-or-zero-with-interesting-reg-alloc-expected.txt: Added. * fast/js/dfg-mod-neg2tothe31-by-one-and-then-or-zero-with-interesting-reg-alloc.html: Added. * fast/js/jsc-test-list: * fast/js/script-tests/dfg-mod-by-neg1-and-then-or-zero-interesting-reg-alloc.js: Added. (foo): * fast/js/script-tests/dfg-mod-by-zero-and-then-or-zero-interesting-reg-alloc.js: Added. (foo): * fast/js/script-tests/dfg-mod-neg2tothe31-by-one-and-then-or-zero-with-interesting-reg-alloc.js: Added. (foo): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
34a59ca9