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

Unified Diff: runtime/vm/object.h

Issue 10831261: Build and use stack maps in the SSA compiler. (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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 4aa8e604533d5689d438f1c9d06e4e315fa72079..60278bb8a4dded1669a15e17f203709364238a2b 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2234,6 +2234,8 @@ class PcDescriptors : public Object {
// Verify (assert) assumptions about pc descriptors in debug mode.
void Verify(bool check_ids) const;
+ static void PrintHeaderString();
+
// We would have a VisitPointers function here to traverse the
// pc descriptors table to visit objects if any in the table.
@@ -2447,6 +2449,13 @@ class Code : public Object {
void set_is_optimized(bool value) const {
raw_ptr()->is_optimized_ = value ? 1 : 0;
}
+ intptr_t spill_slot_count() const {
+ return raw_ptr()->spill_slot_count_;
+ }
+ void set_spill_slot_count(intptr_t count) const {
srdjan 2012/08/10 23:11:05 ASSERT(is_optimized()) ?
Kevin Millikin (Google) 2012/08/13 15:10:37 Hmmm. It's called for unoptimized code to set it
+ raw_ptr()->spill_slot_count_ = count;
+ }
+
uword EntryPoint() const {
const Instructions& instr = Instructions::Handle(instructions());
return instr.EntryPoint();

Powered by Google App Engine
This is Rietveld 408576698