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

Unified Diff: src/ast.h

Issue 492203002: Initial support for debugger frame state in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Another attempt to fix Win64 Created 6 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 | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | src/compiler/node.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index f096c2113cf91ebd7027e32945206948726557fa..2c8d799c2e68ad55900a344a540bf646a21a2552 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -1324,8 +1324,14 @@ class DebuggerStatement V8_FINAL : public Statement {
public:
DECLARE_NODE_TYPE(DebuggerStatement)
+ BailoutId DebugBreakId() const { return debugger_id_; }
+
protected:
- explicit DebuggerStatement(Zone* zone, int pos): Statement(zone, pos) {}
+ explicit DebuggerStatement(Zone* zone, int pos)
+ : Statement(zone, pos), debugger_id_(GetNextId(zone)) {}
+
+ private:
+ const BailoutId debugger_id_;
};
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | src/compiler/node.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698