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

Unified Diff: runtime/vm/json_stream.h

Issue 1387433002: Ensure that service protocol specification and implementation use the correct numeric types (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « runtime/observatory/tests/service/get_vm_rpc_test.dart ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index a6ae55f5896864b58b2db39121d15b3ebbd15fb6..78f6fdd0e09ed4b39499f950e26336472f7c3a2e 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -172,6 +172,9 @@ class JSONStream : ValueObject {
intptr_t nesting_level() const { return open_objects_; }
+ // Debug only fatal assertion.
+ static void EnsureIntegerIsRepresentableInJavaScript(int64_t i);
+
intptr_t open_objects_;
TextBuffer buffer_;
// Default service id zone.
« no previous file with comments | « runtime/observatory/tests/service/get_vm_rpc_test.dart ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698