Increase the size of VirtualFrame members to allow a larger number of

parameters, stack-allocated locals, or expression stack elements.

Review URL: http://codereview.chromium.org/115535

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2002 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
kmillikin@chromium.org 2009-05-19 20:29:23 +00:00
parent 660ddafc5e
commit 2ab1dedb03
3 changed files with 15 additions and 15 deletions

View File

@ -380,20 +380,20 @@ class VirtualFrame : public ZoneObject {
ZoneList<FrameElement> elements_; ZoneList<FrameElement> elements_;
// The number of frame-allocated locals and parameters respectively. // The number of frame-allocated locals and parameters respectively.
int16_t parameter_count_; int parameter_count_;
int16_t local_count_; int local_count_;
// The index of the element that is at the processor's stack pointer // The index of the element that is at the processor's stack pointer
// (the sp register). // (the sp register).
int16_t stack_pointer_; int stack_pointer_;
// The index of the element that is at the processor's frame pointer // The index of the element that is at the processor's frame pointer
// (the fp register). // (the fp register).
int16_t frame_pointer_; int frame_pointer_;
// The index of the register frame element using each register, or // The index of the register frame element using each register, or
// kIllegalIndex if a register is not on the frame. // kIllegalIndex if a register is not on the frame.
int16_t register_locations_[kNumRegisters]; int register_locations_[kNumRegisters];
// The index of the first parameter. The receiver lies below the first // The index of the first parameter. The receiver lies below the first
// parameter. // parameter.

View File

@ -401,20 +401,20 @@ class VirtualFrame : public ZoneObject {
ZoneList<FrameElement> elements_; ZoneList<FrameElement> elements_;
// The number of frame-allocated locals and parameters respectively. // The number of frame-allocated locals and parameters respectively.
int16_t parameter_count_; int parameter_count_;
int16_t local_count_; int local_count_;
// The index of the element that is at the processor's stack pointer // The index of the element that is at the processor's stack pointer
// (the esp register). // (the esp register).
int16_t stack_pointer_; int stack_pointer_;
// The index of the element that is at the processor's frame pointer // The index of the element that is at the processor's frame pointer
// (the ebp register). // (the ebp register).
int16_t frame_pointer_; int frame_pointer_;
// The index of the register frame element using each register, or // The index of the register frame element using each register, or
// kIllegalIndex if a register is not on the frame. // kIllegalIndex if a register is not on the frame.
int16_t register_locations_[kNumRegisters]; int register_locations_[kNumRegisters];
// The index of the first parameter. The receiver lies below the first // The index of the first parameter. The receiver lies below the first
// parameter. // parameter.

View File

@ -401,20 +401,20 @@ class VirtualFrame : public ZoneObject {
ZoneList<FrameElement> elements_; ZoneList<FrameElement> elements_;
// The number of frame-allocated locals and parameters respectively. // The number of frame-allocated locals and parameters respectively.
int16_t parameter_count_; int parameter_count_;
int16_t local_count_; int local_count_;
// The index of the element that is at the processor's stack pointer // The index of the element that is at the processor's stack pointer
// (the esp register). // (the esp register).
int16_t stack_pointer_; int stack_pointer_;
// The index of the element that is at the processor's frame pointer // The index of the element that is at the processor's frame pointer
// (the ebp register). // (the ebp register).
int16_t frame_pointer_; int frame_pointer_;
// The index of the register frame element using each register, or // The index of the register frame element using each register, or
// kIllegalIndex if a register is not on the frame. // kIllegalIndex if a register is not on the frame.
int16_t register_locations_[kNumRegisters]; int register_locations_[kNumRegisters];
// The index of the first parameter. The receiver lies below the first // The index of the first parameter. The receiver lies below the first
// parameter. // parameter.