Index: src/arm/simulator-arm.cc |
diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc |
index 1ae172c008d2bc95fef134bcbe7d0041c7016529..629c209ea2f30a3949ad123e51315d0e80bff0f3 100644 |
--- a/src/arm/simulator-arm.cc |
+++ b/src/arm/simulator-arm.cc |
@@ -1277,9 +1277,9 @@ void Simulator::WriteDW(int32_t addr, int32_t value1, int32_t value2) { |
// Returns the limit of the stack area to enable checking for stack overflows. |
uintptr_t Simulator::StackLimit() const { |
- // Leave a safety margin of 512 bytes to prevent overrunning the stack when |
+ // Leave a safety margin of 1024 bytes to prevent overrunning the stack when |
// pushing values. |
- return reinterpret_cast<uintptr_t>(stack_) + 512; |
+ return reinterpret_cast<uintptr_t>(stack_) + 1024; |
} |