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

Unified Diff: vm/debugger.h

Issue 10632009: Make the parser agnostic to the TokenStream implementation. This is the first step towards compacti… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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 | « vm/datastream.h ('k') | vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/debugger.h
===================================================================
--- vm/debugger.h (revision 9042)
+++ vm/debugger.h (working copy)
@@ -23,10 +23,10 @@
// SourceBreakpoint.
class SourceBreakpoint {
public:
- SourceBreakpoint(intptr_t id, const Function& func, intptr_t token_index);
+ SourceBreakpoint(intptr_t id, const Function& func, intptr_t token_pos);
RawFunction* function() const { return function_; }
- intptr_t token_index() const { return token_index_; }
+ intptr_t token_pos() const { return token_pos_; }
intptr_t id() const { return id_; }
RawScript* SourceCode();
@@ -46,7 +46,7 @@
const intptr_t id_;
RawFunction* function_;
- const intptr_t token_index_;
+ const intptr_t token_pos_;
intptr_t line_number_;
bool is_enabled_;
@@ -67,7 +67,7 @@
RawFunction* function() const { return function_; }
uword pc() const { return pc_; }
- intptr_t token_index() const { return token_index_; }
+ intptr_t token_pos() const { return token_pos_; }
bool IsInternal() const { return src_bpt_ == NULL; }
RawScript* SourceCode();
@@ -95,7 +95,7 @@
RawFunction* function_;
intptr_t pc_desc_index_;
- intptr_t token_index_;
+ intptr_t token_pos_;
uword pc_;
intptr_t line_number_;
bool is_enabled_;
@@ -167,7 +167,7 @@
const Context& ctx_;
Function& function_;
- intptr_t token_index_;
+ intptr_t token_pos_;
intptr_t pc_desc_index_;
intptr_t line_number_;
intptr_t context_level_;
@@ -292,15 +292,15 @@
void EnsureFunctionIsDeoptimized(const Function& func);
void InstrumentForStepping(const Function& target_function);
SourceBreakpoint* SetBreakpoint(const Function& target_function,
- intptr_t token_index);
+ intptr_t token_pos);
void RemoveInternalBreakpoints();
void UnlinkCodeBreakpoints(SourceBreakpoint* src_bpt);
void RegisterSourceBreakpoint(SourceBreakpoint* bpt);
void RegisterCodeBreakpoint(CodeBreakpoint* bpt);
SourceBreakpoint* GetSourceBreakpoint(const Function& func,
- intptr_t token_index);
+ intptr_t token_pos);
CodeBreakpoint* MakeCodeBreakpoint(const Function& func,
- intptr_t token_index);
+ intptr_t token_pos);
// Returns NULL if no breakpoint exists for the given address.
CodeBreakpoint* GetCodeBreakpoint(uword breakpoint_address);
« no previous file with comments | « vm/datastream.h ('k') | vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698