-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbf0eda
commit 2cdfd6e
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/execution/arm/simulator-arm.cc b/src/execution/arm/simulator-arm.cc | ||
index 4a3bdc8b9cc..c0329af1ea0 100644 | ||
--- a/src/execution/arm/simulator-arm.cc | ||
+++ b/src/execution/arm/simulator-arm.cc | ||
@@ -1140,7 +1140,7 @@ uintptr_t Simulator::StackLimit(uintptr_t c_limit) const { | ||
// The simulator uses a separate JS stack. If we have exhausted the C stack, | ||
// we also drop down the JS limit to reflect the exhaustion on the JS stack. | ||
if (base::Stack::GetCurrentStackPosition() < c_limit) { | ||
- return reinterpret_cast<uintptr_t>(get_sp()); | ||
+ return get_sp(); | ||
} | ||
|
||
// Otherwise the limit is the JS stack. Leave a safety margin to prevent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters