Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index a668cb1f71891c834bf898386eac145fc0632a9a..57ee26cd79c3b7414849ca14cac6b6c68ec1998a 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -155,6 +155,15 @@ void MacroAssembler::Ret(Condition cond) { |
} |
+void MacroAssembler::StackLimitCheck(Label* on_stack_overflow) { |
+ LoadRoot(ip, Heap::kStackLimitRootIndex); |
+ cmp(sp, Operand(ip)); |
+ b(lo, on_stack_overflow); |
+} |
+ |
+ |
+ |
+ |
void MacroAssembler::SmiJumpTable(Register index, Vector<Label*> targets) { |
// Empty the const pool. |
CheckConstPool(true, true); |