Index: src/s390/builtins-s390.cc |
diff --git a/src/s390/builtins-s390.cc b/src/s390/builtins-s390.cc |
index 35aaeb95d286b55fe8c861a24eab40f44e29b16c..a8934f3ed9a6ea3211351c6195c17efa81d03e9b 100644 |
--- a/src/s390/builtins-s390.cc |
+++ b/src/s390/builtins-s390.cc |
@@ -1403,22 +1403,6 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) { |
__ Ret(); |
} |
-void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) { |
- // We check the stack limit as indicator that recompilation might be done. |
- Label ok; |
- __ CmpLogicalP(sp, RootMemOperand(Heap::kStackLimitRootIndex)); |
- __ bge(&ok, Label::kNear); |
- { |
- 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) { |