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

Unified Diff: src/execution.h

Issue 1108013003: Introduce --zap-cpp-pointers (off by default) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixes Created 3 years, 7 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
« no previous file with comments | « src/api-arguments.h ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index d5f6371726f1f8a837d419773a398827bfba4869..a889f4682f4c475c76921a81b04b7a3937fb5cfc 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -135,6 +135,10 @@ class V8_EXPORT_PRIVATE StackGuard final {
Object* HandleInterrupts();
void HandleGCInterrupt();
+#if DEBUG
+ uintptr_t stack_base_position() { return thread_local_.stack_base_position_; }
+#endif
+
private:
StackGuard();
@@ -214,6 +218,9 @@ class V8_EXPORT_PRIVATE StackGuard final {
PostponeInterruptsScope* postpone_interrupts_;
int interrupt_flags_;
+#if DEBUG
+ uintptr_t stack_base_position_;
+#endif
};
// TODO(isolates): Technically this could be calculated directly from a
« no previous file with comments | « src/api-arguments.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698