Index: src/a64/simulator-a64.cc |
diff --git a/src/a64/simulator-a64.cc b/src/a64/simulator-a64.cc |
index d414bf5426e3c83ba509effb5c1f8d342d17d0d8..a401c62d2ebdf6d287b3c265a8c5ef56d92a171f 100644 |
--- a/src/a64/simulator-a64.cc |
+++ b/src/a64/simulator-a64.cc |
@@ -359,12 +359,7 @@ uintptr_t Simulator::PopAddress() { |
uintptr_t Simulator::StackLimit() const { |
// Leave a safety margin of 1024 bytes to prevent overrunning the stack when |
// pushing values. |
- // TODO(all): Increase the stack limit protection. |
- |
- // The margin was decreased to 256 bytes, because we are intensively using |
- // the stack. The stack usage should decrease when our code improves. Then |
- // we can set it to 1024 again. |
- return reinterpret_cast<uintptr_t>(stack_limit_) + 256; |
+ return reinterpret_cast<uintptr_t>(stack_limit_) + 1024; |
} |