| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index 45d168ed5955133e3d86443c0dd287190c294bd4..8ff085f16d81e21037910e5ca4eb0294de79678c 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -1138,16 +1138,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);
|
|
|