| Index: src/mips64/code-stubs-mips64.cc
|
| diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc
|
| index cfb92324b141fc30e0caa0c2ab9061c459693f90..2bfbfcafd122f0ae2cb3cb8d4606a1c104d295b2 100644
|
| --- a/src/mips64/code-stubs-mips64.cc
|
| +++ b/src/mips64/code-stubs-mips64.cc
|
| @@ -1154,16 +1154,6 @@ void CEntryStub::Generate(MacroAssembler* masm) {
|
| masm->InstructionsGeneratedSince(&find_ra));
|
| }
|
|
|
| - // 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;
|
| - __ LoadRoot(a4, Heap::kTheHoleValueRootIndex);
|
| - __ Branch(&okay, ne, v0, Operand(a4));
|
| - __ stop("The hole escaped");
|
| - __ bind(&okay);
|
| - }
|
| -
|
| // Check result for exception sentinel.
|
| Label exception_returned;
|
| __ LoadRoot(a4, Heap::kExceptionRootIndex);
|
|
|