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

Unified Diff: runtime/vm/json_stream.h

Issue 1644793002: Replace intptr_t with TokenDescriptor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index 239c4e76f3241cd43f0523d3494b2fd010121188..5d23dcdd552fe7ffa1de045df1b003d172f12069 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -9,6 +9,7 @@
#include "platform/text_buffer.h"
#include "vm/allocation.h"
#include "vm/service.h"
+#include "vm/token_descriptor.h"
namespace dart {
@@ -239,9 +240,10 @@ class JSONObject : public ValueObject {
void AddFixedServiceId(const char* format, ...) const PRINTF_ATTRIBUTE(2, 3);
- void AddLocation(const Script& script,
- intptr_t token_pos,
- intptr_t end_token_pos = -1) const;
+ void AddLocation(
+ const Script& script,
+ TokenDescriptor token_pos,
+ TokenDescriptor end_token_pos = TokenDescriptor::kNoSource) const;
void AddLocation(const BreakpointLocation* bpt_loc) const;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/json_stream.cc » ('j') | runtime/vm/token_descriptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698