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

Unified Diff: runtime/vm/code_descriptors.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/code_descriptors.h ('k') | runtime/vm/code_descriptors_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.cc
diff --git a/runtime/vm/code_descriptors.cc b/runtime/vm/code_descriptors.cc
index ece0fd8762fb3db8449c421aa0dfbb7d16e38a5c..1e6ff220ba094b03d6dd56e37d5e1c0311ffd6b6 100644
--- a/runtime/vm/code_descriptors.cc
+++ b/runtime/vm/code_descriptors.cc
@@ -60,18 +60,18 @@ RawCodeSourceMap* CodeSourceMapBuilder::Finalize() {
}
-void StackmapTableBuilder::AddEntry(intptr_t pc_offset,
+void StackMapTableBuilder::AddEntry(intptr_t pc_offset,
BitmapBuilder* bitmap,
intptr_t register_bit_count) {
- stack_map_ = Stackmap::New(pc_offset, bitmap, register_bit_count);
+ stack_map_ = StackMap::New(pc_offset, bitmap, register_bit_count);
list_.Add(stack_map_, Heap::kOld);
}
-bool StackmapTableBuilder::Verify() {
+bool StackMapTableBuilder::Verify() {
intptr_t num_entries = Length();
- Stackmap& map1 = Stackmap::Handle();
- Stackmap& map2 = Stackmap::Handle();
+ StackMap& map1 = StackMap::Handle();
+ StackMap& map2 = StackMap::Handle();
for (intptr_t i = 1; i < num_entries; i++) {
map1 = MapAt(i - 1);
map2 = MapAt(i);
@@ -84,7 +84,7 @@ bool StackmapTableBuilder::Verify() {
}
-RawArray* StackmapTableBuilder::FinalizeStackmaps(const Code& code) {
+RawArray* StackMapTableBuilder::FinalizeStackMaps(const Code& code) {
ASSERT(Verify());
intptr_t num_entries = Length();
if (num_entries == 0) {
@@ -94,8 +94,8 @@ RawArray* StackmapTableBuilder::FinalizeStackmaps(const Code& code) {
}
-RawStackmap* StackmapTableBuilder::MapAt(intptr_t index) const {
- Stackmap& map = Stackmap::Handle();
+RawStackMap* StackMapTableBuilder::MapAt(intptr_t index) const {
+ StackMap& map = StackMap::Handle();
map ^= list_.At(index);
return map.raw();
}
« no previous file with comments | « runtime/vm/code_descriptors.h ('k') | runtime/vm/code_descriptors_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698