Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 4ea87899a2cb096175ba06020d2c8f704322e151..9d9b8aed4dca8fbfbf10654625d6d2a47f3b1b04 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1057,16 +1057,6 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
__ VFPEnsureFPSCRState(r2); |
- // Runtime functions should not return 'the hole'. Allowing it to escape may |
- // lead to crashes in the IC code later. |
- if (FLAG_debug_code) { |
- Label okay; |
- __ CompareRoot(r0, Heap::kTheHoleValueRootIndex); |
- __ b(ne, &okay); |
- __ stop("The hole escaped"); |
- __ bind(&okay); |
- } |
- |
// Check result for exception sentinel. |
Label exception_returned; |
__ CompareRoot(r0, Heap::kExceptionRootIndex); |