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(); |