| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index bb185c3fd5972fd25170d935ca97e64f1e51614b..e57b128a88c1dbf4ce2b37e4d9d594b113817ec6 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -280,10 +280,10 @@ class PipelineData {
|
| DCHECK(frame_ == nullptr);
|
| int fixed_frame_size = 0;
|
| if (descriptor != nullptr) {
|
| - fixed_frame_size = (descriptor->IsCFunctionCall())
|
| - ? StandardFrameConstants::kFixedSlotCountAboveFp +
|
| - StandardFrameConstants::kCPSlotCount
|
| - : StandardFrameConstants::kFixedSlotCount;
|
| + fixed_frame_size =
|
| + ((descriptor->flags() & CallDescriptor::kHasStandardFrameHeader)
|
| + ? StandardFrameConstants::kFixedSlotCount
|
| + : TypedFrameConstants::kFixedSlotCount);
|
| }
|
| frame_ = new (instruction_zone()) Frame(fixed_frame_size, descriptor);
|
| }
|
|
|