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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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/vm/raw_object.cc ('k') | runtime/vm/simulator_dbc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object_snapshot.cc
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
index 2177722230db715feafb2e2f8ed329996f050abd..11ab3040c63689ae331f86763b2abff397f2a530 100644
--- a/runtime/vm/raw_object_snapshot.cc
+++ b/runtime/vm/raw_object_snapshot.cc
@@ -1336,17 +1336,17 @@ void RawCodeSourceMap::WriteTo(SnapshotWriter* writer,
}
-RawStackmap* Stackmap::ReadFrom(SnapshotReader* reader,
+RawStackMap* StackMap::ReadFrom(SnapshotReader* reader,
intptr_t object_id,
intptr_t tags,
Snapshot::Kind kind,
bool as_reference) {
UNREACHABLE();
- return Stackmap::null();
+ return StackMap::null();
}
-void RawStackmap::WriteTo(SnapshotWriter* writer,
+void RawStackMap::WriteTo(SnapshotWriter* writer,
intptr_t object_id,
Snapshot::Kind kind,
bool as_reference) {
@@ -2853,17 +2853,17 @@ void RawSendPort::WriteTo(SnapshotWriter* writer,
}
-RawStacktrace* Stacktrace::ReadFrom(SnapshotReader* reader,
+RawStackTrace* StackTrace::ReadFrom(SnapshotReader* reader,
intptr_t object_id,
intptr_t tags,
Snapshot::Kind kind,
bool as_reference) {
- UNREACHABLE(); // Stacktraces are not sent in a snapshot.
- return Stacktrace::null();
+ UNREACHABLE(); // StackTraces are not sent in a snapshot.
+ return StackTrace::null();
}
-void RawStacktrace::WriteTo(SnapshotWriter* writer,
+void RawStackTrace::WriteTo(SnapshotWriter* writer,
intptr_t object_id,
Snapshot::Kind kind,
bool as_reference) {
« no previous file with comments | « runtime/vm/raw_object.cc ('k') | runtime/vm/simulator_dbc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698