Fix installing of SIMD object on global object.
authormstarzinger <mstarzinger@chromium.org>
Mon, 20 Jul 2015 10:37:43 +0000 (03:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Jul 2015 10:37:58 +0000 (10:37 +0000)
commitd4cd3f5ef32356be6717f6957933a354f18219e8
treeb701bb2f549aeeca392feb3b7fdd59803a9d1432
parent806b81f11e3bfaef0d4330c7669e6934074be9cb
Fix installing of SIMD object on global object.

We should not install the SIMD object on the global object unless
support for SIMD is actually turned on by the flag. Otherwise calling
SIMD.Float32x4() will hit unreachable code. We accidentally SIMD.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/1240223002

Cr-Commit-Position: refs/heads/master@{#29749}
src/bootstrapper.cc