[Win] Turn off SSE Instructions for 32-bit Builds
https://bugs.webkit.org/show_bug.cgi?id=136959
<rdar://problem/18375370>

Reviewed by Dean Jackson.

* win/tools/vsprops/common.props: Conditionally exclude the enhanced (SSE) instruction
set when building for 32-bit Windows. Otherwise, continue using SSE.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a size check for CSSSelector
https://bugs.webkit.org/show_bug.cgi?id=136882

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-09-19
Reviewed by Christophe Dumez.

* css/CSSSelector.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CSS JIT: allocate the minimum required register count in debug
https://bugs.webkit.org/show_bug.cgi?id=136933

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-09-19
Reviewed by Andreas Kling.

It is hard to catch bugs of minimumRegisterRequirements() because every CPU has a different
number of registers available by default.

This patch aims at improving testing by creating artificial register pressure when running
in debug. When running in debug, we no longer allocate all the available registers right away.
Instead, we allocate just enough to satisfy minimumRegisterRequirements().

The expectation with this is that under-allocation would be detected quicker since they would
crash debug builds.

* cssjit/RegisterAllocator.h:
(WebCore::RegisterAllocator::RegisterAllocator):
(WebCore::RegisterAllocator::reserveCallerSavedRegisters):
(WebCore::RegisterAllocator::availableRegisterCount): Deleted.
* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[MSE][Mac] work around AVSampleBufferRenderSynchronizer early callbacks
https://bugs.webkit.org/show_bug.cgi?id=136958

Reviewed by Jer Noble.

No new tests, we have been unable to come up with a test case that reproduces
this issue reliably.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::durationChanged): Set the synchronizer
    time to duration when the duration time observer is called early. Add more logging.


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