Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 978aeee94a8c3ba922a619b697c00477887b4d11..50d14959213381bdd4da5514cac40f75d635a45d 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -266,7 +266,8 @@ class PipelineData { |
int fixed_frame_size = 0; |
if (descriptor != nullptr) { |
fixed_frame_size = (descriptor->kind() == CallDescriptor::kCallAddress) |
- ? StandardFrameConstants::kFixedSlotCountAboveFp |
+ ? StandardFrameConstants::kFixedSlotCountAboveFp + |
+ StandardFrameConstants::kCPSlotCount |
: StandardFrameConstants::kFixedSlotCount; |
} |
frame_ = new (instruction_zone()) Frame(fixed_frame_size); |