Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index a6bfdb128d4b750d3b4245176e7ce1761eebbc12..4eb19c564730449749a4e66394972de8abb20079 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -1430,24 +1430,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; |
- __ LoadRoot(ip, Heap::kStackLimitRootIndex); |
- __ cmp(sp, Operand(ip)); |
- __ b(hs, &ok); |
- { |
- FrameAndConstantPoolScope 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) { |