Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 11f66a4ef46caa9f2607a40e693c082b14810c8d..95797bfcd873ce750987b64c0a919013591a3164 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -1394,23 +1394,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(jssp, Heap::kStackLimitRootIndex); |
- __ B(hs, &ok); |
- { |
- FrameScope scope(masm, StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kStackGuard); |
- } |
- __ Jump(masm->isolate()->builtins()->OnStackReplacement(), |
- RelocInfo::CODE_TARGET); |
- |
- __ Bind(&ok); |
- __ Ret(); |
-} |
- |
- |
// static |
void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm, |
int field_index) { |