| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 99196da425442eefd18fb735e54a97f554848e22..ccde2cc74218cfb007a50e53d57e9f25c7524639 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -2455,16 +2455,6 @@ void CEntryStub::Generate(MacroAssembler* masm) {
|
| }
|
| #endif // _WIN64
|
|
|
| - // 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(rax, Heap::kTheHoleValueRootIndex);
|
| - __ j(not_equal, &okay, Label::kNear);
|
| - __ int3();
|
| - __ bind(&okay);
|
| - }
|
| -
|
| // Check result for exception sentinel.
|
| Label exception_returned;
|
| __ CompareRoot(rax, Heap::kExceptionRootIndex);
|
|
|