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

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: 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
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_);
Kevin Millikin (Google) 2012/08/21 13:24:07 Long-term, we will not set the length here but ear
Vyacheslav Egorov (Google) 2012/08/22 11:49:40 Add a TODO
+ stack_map_ = Stackmap::New(pc_offset, bitmap);
list_.Add(stack_map_);
}

Powered by Google App Engine
This is Rietveld 408576698