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

Unified Diff: runtime/vm/code_descriptors.h

Issue 10873027: Use the location summary to represent safepoint information. (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
« no previous file with comments | « no previous file | 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 21474d7559c7d0aa499c8cb3e5604914cf5a55dd..95def20750f8af701e5adcc2253a97bbb7574980 100644
--- a/runtime/vm/code_descriptors.h
+++ b/runtime/vm/code_descriptors.h
@@ -65,9 +65,8 @@ class DescriptorList : public ZoneAllocated {
class StackmapTableBuilder : public ZoneAllocated {
public:
- explicit StackmapTableBuilder(intptr_t entry_length)
- : entry_length_(entry_length),
- stack_map_(Stackmap::ZoneHandle()),
+ explicit StackmapTableBuilder()
+ : stack_map_(Stackmap::ZoneHandle()),
list_(GrowableObjectArray::ZoneHandle(
GrowableObjectArray::New(Heap::kOld))) { }
~StackmapTableBuilder() { }
@@ -82,8 +81,6 @@ class StackmapTableBuilder : public ZoneAllocated {
intptr_t Length() const { return list_.Length(); }
RawStackmap* MapAt(int index) const;
- // All the stackmaps in a function have the same length.
- const intptr_t entry_length_;
Stackmap& stack_map_;
GrowableObjectArray& list_;
DISALLOW_COPY_AND_ASSIGN(StackmapTableBuilder);
« no previous file with comments | « no previous file | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698