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

Unified Diff: runtime/vm/raw_object.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.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.cc
diff --git a/runtime/vm/raw_object.cc b/runtime/vm/raw_object.cc
index bfe850aacb0d812c5e4ae03c4ed217fd4911019b..79a6193460c2bc7e1543f86b34c38e3e212c0971 100644
--- a/runtime/vm/raw_object.cc
+++ b/runtime/vm/raw_object.cc
@@ -145,10 +145,10 @@ intptr_t RawObject::SizeFromClass() const {
instance_size = CodeSourceMap::InstanceSize(length);
break;
}
- case kStackmapCid: {
- const RawStackmap* map = reinterpret_cast<const RawStackmap*>(this);
+ case kStackMapCid: {
+ const RawStackMap* map = reinterpret_cast<const RawStackMap*>(this);
intptr_t length = map->ptr()->length_;
- instance_size = Stackmap::InstanceSize(length);
+ instance_size = StackMap::InstanceSize(length);
break;
}
case kLocalVarDescriptorsCid: {
@@ -607,9 +607,9 @@ intptr_t RawCodeSourceMap::VisitCodeSourceMapPointers(
}
-intptr_t RawStackmap::VisitStackmapPointers(RawStackmap* raw_obj,
+intptr_t RawStackMap::VisitStackMapPointers(RawStackMap* raw_obj,
ObjectPointerVisitor* visitor) {
- return Stackmap::InstanceSize(raw_obj->ptr()->length_);
+ return StackMap::InstanceSize(raw_obj->ptr()->length_);
}
@@ -955,12 +955,12 @@ intptr_t RawSendPort::VisitSendPortPointers(RawSendPort* raw_obj,
}
-intptr_t RawStacktrace::VisitStacktracePointers(RawStacktrace* raw_obj,
+intptr_t RawStackTrace::VisitStackTracePointers(RawStackTrace* raw_obj,
ObjectPointerVisitor* visitor) {
// Make sure that we got here with the tagged pointer as this.
ASSERT(raw_obj->IsHeapObject());
visitor->VisitPointers(raw_obj->from(), raw_obj->to());
- return Stacktrace::InstanceSize();
+ return StackTrace::InstanceSize();
}
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698