Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: src/execution.h

Issue 1314623002: Make Simulator respect C stack limits as well. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Architecture ports.wq Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index 551682c2eb65637864e751e555c6a5df98c9565e..d783e5c28b80b7fa34dbf989418665ecd5fe9550 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -136,6 +136,11 @@ class StackGuard final {
// is assumed to grow downwards.
void SetStackLimit(uintptr_t limit);
+ // The simulator uses a separate JS stack. Limits on the JS stack might have
+ // to be adjusted in order to reflect overflows of the C stack, because we
+ // cannot rely on the interleaving of frames on the simulator.
+ void AdjustStackLimitForSimulator();
+
// Threading support.
char* ArchiveStackGuard(char* to);
char* RestoreStackGuard(char* from);
« src/arm/simulator-arm.h ('K') | « src/arm64/simulator-arm64.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698