| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index a8a03c4c3dc384403fa7e9d5a491b2b0d7028f05..13121d4a30822094c90365c674c9e508fdc282ce 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.cc
|
| @@ -2646,24 +2646,6 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) {
|
| - // We check the stack limit as indicator that recompilation might be done.
|
| - Label ok;
|
| - ExternalReference stack_limit =
|
| - ExternalReference::address_of_stack_limit(masm->isolate());
|
| - __ cmp(esp, Operand::StaticVariable(stack_limit));
|
| - __ j(above_equal, &ok, Label::kNear);
|
| - {
|
| - FrameScope scope(masm, StackFrame::INTERNAL);
|
| - __ CallRuntime(Runtime::kStackGuard);
|
| - }
|
| - __ jmp(masm->isolate()->builtins()->OnStackReplacement(),
|
| - RelocInfo::CODE_TARGET);
|
| -
|
| - __ bind(&ok);
|
| - __ ret(0);
|
| -}
|
| -
|
| #undef __
|
| } // namespace internal
|
| } // namespace v8
|
|
|