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

Unified Diff: runtime/vm/code_descriptors.cc

Issue 10837303: Make stackmaps store their actual length. (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 8d0c305dca90fc0ce3faa943a64969fb74ad3e32..027e8b65d284d2d9a4e3da584333b76bb43946d0 100644
--- a/runtime/vm/code_descriptors.cc
+++ b/runtime/vm/code_descriptors.cc
@@ -54,7 +54,7 @@ RawPcDescriptors* DescriptorList::FinalizePcDescriptors(uword entry_point) {
void StackmapTableBuilder::AddEntry(intptr_t pc_offset,
BitmapBuilder* bitmap) {
- stack_map_ = Stackmap::New(pc_offset, entry_length_in_bits_, bitmap);
+ stack_map_ = Stackmap::New(pc_offset, entry_length_, bitmap);
list_.Add(stack_map_);
}

Powered by Google App Engine
This is Rietveld 408576698