| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 6c4419e08426860fcb4fb8aaecfa2c9a679b8610..82d585e18d5647cd6822611ac1d0e5c9341b1469 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -2727,23 +2727,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;
|
| - __ CompareRoot(rsp, Heap::kStackLimitRootIndex);
|
| - __ j(above_equal, &ok);
|
| - {
|
| - FrameScope scope(masm, StackFrame::INTERNAL);
|
| - __ CallRuntime(Runtime::kStackGuard);
|
| - }
|
| - __ jmp(masm->isolate()->builtins()->OnStackReplacement(),
|
| - RelocInfo::CODE_TARGET);
|
| -
|
| - __ bind(&ok);
|
| - __ ret(0);
|
| -}
|
| -
|
| -
|
| #undef __
|
|
|
| } // namespace internal
|
|
|