Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index a42ce01ae25c534a30f6441922d0548892e02eff..49c213a6cfe93ebd5c1aee97c259f69e00f48387 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -2672,24 +2672,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 |