Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 6c958668ef0af1b1f7e2db2db2c2118014917a9e..a50c39c1084190ec7ea571a2859275302f2af4a9 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1086,16 +1086,6 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
} |
#endif |
- // 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(r3, Heap::kTheHoleValueRootIndex); |
- __ bne(&okay); |
- __ stop("The hole escaped"); |
- __ bind(&okay); |
- } |
- |
// Check result for exception sentinel. |
Label exception_returned; |
__ CompareRoot(r3, Heap::kExceptionRootIndex); |