Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 12a914b280752023a4b40fe247fd9cc56fc2f156..40949ff35401c2898d14ea23ac00b0d37d1b0685 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -1283,10 +1283,7 @@ void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { |
void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) { |
CpuFeatures::TryForceFeatureScope scope(VFP3); |
- if (!CpuFeatures::IsSupported(VFP3)) { |
- __ Abort("Unreachable code: Cannot optimize without VFP3 support."); |
- return; |
- } |
+ ASSERT(CPU::SupportsCrankshaft()); |
// Lookup the function in the JavaScript frame and push it as an |
// argument to the on-stack replacement function. |