-
barraclough@apple.com authored
2009-01-21 Gavin Barraclough <barraclough@apple.com> Reviewed by Oliver Hunt. Fix for https://bugs.webkit.org/show_bug.cgi?id=23469. We need to check all numbers in integer switches, not just those represented as integer JSImmediates. * interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): (JSC::Interpreter::cti_op_switch_imm): LayoutTests: 2009-01-21 Gavin Barraclough <barraclough@apple.com> Reviewed by Oliver Hunt. Add layout test for switch (-0). * fast/js/resources/switch-behaviour.js: * fast/js/switch-behaviour-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bc798fd3