| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 8270fa4d7feca29292555c61136830c54041525b..eb32c50ff9d105b50bd56a84ba3a94e6977c02eb 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2538,16 +2538,6 @@ void CEntryStub::Generate(MacroAssembler* masm) {
|
| __ call(ebx);
|
| // Result is in eax or edx:eax - do not destroy these registers!
|
|
|
| - // 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;
|
| - __ cmp(eax, isolate()->factory()->the_hole_value());
|
| - __ j(not_equal, &okay, Label::kNear);
|
| - __ int3();
|
| - __ bind(&okay);
|
| - }
|
| -
|
| // Check result for exception sentinel.
|
| Label exception_returned;
|
| __ cmp(eax, isolate()->factory()->exception());
|
|
|