summaryrefslogtreecommitdiff
path: root/deps/v8/src/arm/builtins-arm.cc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-06-26 08:15:09 -0700
committerisaacs <i@izs.me>2013-06-26 08:15:09 -0700
commit1111880df4d14e254610c73f69ff38a8b79d2118 (patch)
tree310ecbfbe370962e75dab05ef4b82fd25dd6f82d /deps/v8/src/arm/builtins-arm.cc
parent1a39380ab4cf5e6003c41dcd7e3cb0f04b25e753 (diff)
downloadnode-new-1111880df4d14e254610c73f69ff38a8b79d2118.tar.gz
v8: Upgrade to 3.11.10.26
Diffstat (limited to 'deps/v8/src/arm/builtins-arm.cc')
-rw-r--r--deps/v8/src/arm/builtins-arm.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/arm/builtins-arm.cc b/deps/v8/src/arm/builtins-arm.cc
index 9cacac0b03..578bd810d4 100644
--- a/deps/v8/src/arm/builtins-arm.cc
+++ b/deps/v8/src/arm/builtins-arm.cc
@@ -1246,7 +1246,10 @@ void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
CpuFeatures::TryForceFeatureScope scope(VFP3);
- ASSERT(CPU::SupportsCrankshaft());
+ if (!CpuFeatures::IsSupported(VFP3)) {
+ __ Abort("Unreachable code: Cannot optimize without VFP3 support.");
+ return;
+ }
// Lookup the function in the JavaScript frame and push it as an
// argument to the on-stack replacement function.