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

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 95d2041a8d79e01ae70f6f8d96b3dada8832c547..9ca5703b49f448dfaa99e2eb86e808d0e2fa228c 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 {
@@ -240,9 +241,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;

Powered by Google App Engine
This is Rietveld 408576698