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

Unified Diff: src/execution.h

Issue 1321543004: [futex] Allow debugger to break in the middle of a futexWait Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: pass parameter through HandleInterrupts 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
« no previous file with comments | « src/debug/debug.cc ('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 2c07a64aaecc5409064ba1bc5eaf2f2edcf73880..b3ffed1ceb5c9596d16d5ed1d310ed30fd900f69 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -16,6 +16,15 @@ namespace internal {
// Forward declarations.
class JSRegExp;
+
+// Whether to handle a DebugBreak in a function that is not normally subject to
+// debugging (e.g. a builtin).
+enum BreakInNonDebuggableFlag {
+ DontBreakInNonDebuggable,
+ BreakInNonDebuggable,
+};
+
+
class Execution final : public AllStatic {
public:
// Call a function, the caller supplies a receiver and an array
@@ -199,7 +208,8 @@ class StackGuard final {
// If the stack guard is triggered, but it is not an actual
// stack overflow, then handle the interruption accordingly.
- Object* HandleInterrupts();
+ Object* HandleInterrupts(
+ BreakInNonDebuggableFlag flag = DontBreakInNonDebuggable);
Michael Starzinger 2015/08/31 21:52:21 Hmpf! I realize that Yang suggested this approach,
void HandleGCInterrupt();
private:
« no previous file with comments | « src/debug/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698