Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index f0b76ccc39c88cdc8c9b2b79a5b7711da5cda9cf..09b7060ec3c32e6552a7283a4464ec224383f1e0 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -1454,24 +1454,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); |
- __ cmpl(sp, ip); |
- __ bge(&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) { |