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

Unified Diff: runtime/vm/object.h

Issue 10686003: Better breakpoint placement (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 9139)
+++ runtime/vm/object.h (working copy)
@@ -1739,7 +1739,9 @@
void GetTokenLocation(intptr_t token_pos,
intptr_t* line, intptr_t* column) const;
- intptr_t TokenIndexAtLine(intptr_t line_number) const;
+ void TokenRangeAtLine(intptr_t line_number,
+ intptr_t* first_token_index,
+ intptr_t* last_token_index) const;
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawScript));
@@ -1802,7 +1804,7 @@
explicit LibraryPrefixIterator(const Library& library);
RawLibraryPrefix* GetNext();
private:
- void MoveToNext();
+ void Advance();
DISALLOW_COPY_AND_ASSIGN(LibraryPrefixIterator);
};

Powered by Google App Engine
This is Rietveld 408576698