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

Unified Diff: runtime/vm/code_descriptors.h

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/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.h
diff --git a/runtime/vm/code_descriptors.h b/runtime/vm/code_descriptors.h
index 58f1af7b7b1aca453b1708a719ae155e76f34e91..fa99412751584d18a508e63574c1be96f1e7e60e 100644
--- a/runtime/vm/code_descriptors.h
+++ b/runtime/vm/code_descriptors.h
@@ -63,13 +63,13 @@ class CodeSourceMapBuilder : public ZoneAllocated {
};
-class StackmapTableBuilder : public ZoneAllocated {
+class StackMapTableBuilder : public ZoneAllocated {
public:
- StackmapTableBuilder()
- : stack_map_(Stackmap::ZoneHandle()),
+ StackMapTableBuilder()
+ : stack_map_(StackMap::ZoneHandle()),
list_(GrowableObjectArray::ZoneHandle(
GrowableObjectArray::New(Heap::kOld))) {}
- ~StackmapTableBuilder() {}
+ ~StackMapTableBuilder() {}
void AddEntry(intptr_t pc_offset,
BitmapBuilder* bitmap,
@@ -77,15 +77,15 @@ class StackmapTableBuilder : public ZoneAllocated {
bool Verify();
- RawArray* FinalizeStackmaps(const Code& code);
+ RawArray* FinalizeStackMaps(const Code& code);
private:
intptr_t Length() const { return list_.Length(); }
- RawStackmap* MapAt(intptr_t index) const;
+ RawStackMap* MapAt(intptr_t index) const;
- Stackmap& stack_map_;
+ StackMap& stack_map_;
GrowableObjectArray& list_;
- DISALLOW_COPY_AND_ASSIGN(StackmapTableBuilder);
+ DISALLOW_COPY_AND_ASSIGN(StackMapTableBuilder);
};
@@ -130,7 +130,7 @@ class ExceptionHandlerList : public ZoneAllocated {
// Called by rethrows, to mark their enclosing handlers.
- void SetNeedsStacktrace(intptr_t try_index) {
+ void SetNeedsStackTrace(intptr_t try_index) {
// Rethrows can be generated outside a try by the compiler.
if (try_index == CatchClauseNode::kInvalidTryIndex) {
return;
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698