| Index: src/compiler/frame.h
|
| diff --git a/src/compiler/frame.h b/src/compiler/frame.h
|
| index 2850a8c1a152e74f287bbf60129bf71e2109a9b5..f901b1e2b3402bc662023b1618cefa4702cc7cc5 100644
|
| --- a/src/compiler/frame.h
|
| +++ b/src/compiler/frame.h
|
| @@ -22,7 +22,8 @@ class Frame : public ZoneObject {
|
| spill_slot_count_(0),
|
| osr_stack_slot_count_(0),
|
| allocated_registers_(NULL),
|
| - allocated_double_registers_(NULL) {}
|
| + allocated_double_registers_(NULL),
|
| + pc_on_stack_(true) {}
|
|
|
| inline int GetSpillSlotCount() { return spill_slot_count_; }
|
|
|
| @@ -71,12 +72,17 @@ class Frame : public ZoneObject {
|
| spill_slot_count_ = static_cast<int>(slot_count);
|
| }
|
|
|
| + void SetPCOnStack(bool val) { pc_on_stack_ = val; }
|
| +
|
| + int PCOnStackSize() { return pc_on_stack_ ? kRegisterSize : 0; }
|
| +
|
| private:
|
| int register_save_area_size_;
|
| int spill_slot_count_;
|
| int osr_stack_slot_count_;
|
| BitVector* allocated_registers_;
|
| BitVector* allocated_double_registers_;
|
| + bool pc_on_stack_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Frame);
|
| };
|
|
|