| Index: src/compiler/frame.cc
|
| diff --git a/src/compiler/frame.cc b/src/compiler/frame.cc
|
| index 7b9a797f5a4d45345233870f49a27c284569bfbf..62e26557b84f7b4ea9ca8a7ed46d3f14b19ec200 100644
|
| --- a/src/compiler/frame.cc
|
| +++ b/src/compiler/frame.cc
|
| @@ -12,9 +12,10 @@ namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
|
|
| -Frame::Frame(int fixed_frame_size_in_slots)
|
| - : frame_slot_count_(fixed_frame_size_in_slots),
|
| - outgoing_parameter_slot_count_(0),
|
| +Frame::Frame(int fixed_frame_size_in_slots, const CallDescriptor* descriptor)
|
| + : needs_frame_((descriptor != nullptr) &&
|
| + descriptor->RequiresFrameAsIncoming()),
|
| + frame_slot_count_(fixed_frame_size_in_slots),
|
| callee_saved_slot_count_(0),
|
| spill_slot_count_(0),
|
| allocated_registers_(NULL),
|
|
|