Switch statements that skip the baseline JIT should work
https://bugs.webkit.org/show_bug.cgi?id=131965

Reviewed by Mark Hahnenberg.

* bytecode/JumpTable.h:
(JSC::SimpleJumpTable::ensureCTITable):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::emitSwitchIntJump):
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_switch_imm):
(JSC::JIT::emit_op_switch_char):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_switch_imm):
(JSC::JIT::emit_op_switch_char):
* tests/stress/inline-llint-with-switch.js: Added.
(foo):
(bar):
(test):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebProfilerAgent::disable is calling the wrong superclass method
https://bugs.webkit.org/show_bug.cgi?id=131968

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-04-21
Reviewed by Simon Fraser.

* inspector/WebProfilerAgent.cpp:
(WebCore::WebProfilerAgent::disable):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] After a horizontal overflow scroll with a mechanical wheel mouse, vertical scrolling no longer works
https://bugs.webkit.org/show_bug.cgi?id=131960
<rdar://problem/16142100>

Reviewed by Darin Adler.


Source/WebCore: 
Test: platform/mac/fast/scrolling/scroll-div-no-latching.html

* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent): When not latching, always clear m_latchedWheelEventElement and m_previousWheelScrolledElement.

LayoutTests: 
* platform/mac/fast/scrolling/scroll-div-no-latching-expected.txt: Added.
* platform/mac/fast/scrolling/scroll-div-no-latching.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DFG::clobberize() should honestly admit that profiler and debugger nodes are effectful
https://bugs.webkit.org/show_bug.cgi?id=131971
<rdar://problem/16676511>

Reviewed by Mark Lam.

* dfg/DFGClobberize.h:
(JSC::DFG::clobberize):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167649 268f45cc-cd09-0410-ab3c-d52691b4dbfc