| Index: src/arm/code-stubs-arm.cc
|
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc
|
| index a11142796057cc1674449610a30ddca19ff17614..ffe5fe346af161123bf5cee1532da2c8c235ae2e 100644
|
| --- a/src/arm/code-stubs-arm.cc
|
| +++ b/src/arm/code-stubs-arm.cc
|
| @@ -1005,16 +1005,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);
|
|
|