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

Unified Diff: runtime/vm/code_descriptors.cc

Issue 10832410: Give a length field to stack bitmaps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. Created 8 years, 4 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/vm/bitmap_test.cc ('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 027e8b65d284d2d9a4e3da584333b76bb43946d0..3885f955bd8c60460cace3acc52bd611ed56cc0e 100644
--- a/runtime/vm/code_descriptors.cc
+++ b/runtime/vm/code_descriptors.cc
@@ -54,7 +54,8 @@ RawPcDescriptors* DescriptorList::FinalizePcDescriptors(uword entry_point) {
void StackmapTableBuilder::AddEntry(intptr_t pc_offset,
BitmapBuilder* bitmap) {
- stack_map_ = Stackmap::New(pc_offset, entry_length_, bitmap);
+ bitmap->SetLength(entry_length_);
+ stack_map_ = Stackmap::New(pc_offset, bitmap);
list_.Add(stack_map_);
}
« no previous file with comments | « runtime/vm/bitmap_test.cc ('k') | runtime/vm/code_descriptors_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698