Index: src/crankshaft/lithium.cc |
diff --git a/src/crankshaft/lithium.cc b/src/crankshaft/lithium.cc |
index 3717befa88f1d38f95fe5c1788cd0c16efdccd41..216402fa3d10d8f893f1357e1b96007e395dbdd8 100644 |
--- a/src/crankshaft/lithium.cc |
+++ b/src/crankshaft/lithium.cc |
@@ -247,7 +247,9 @@ void LPointerMap::PrintTo(StringStream* stream) { |
} |
LChunk::LChunk(CompilationInfo* info, HGraph* graph) |
- : base_frame_slots_(StandardFrameConstants::kFixedFrameSize / kPointerSize), |
+ : base_frame_slots_(info->IsStub() |
+ ? TypedFrameConstants::kFixedSlotCount |
+ : StandardFrameConstants::kFixedSlotCount), |
current_frame_slots_(base_frame_slots_), |
info_(info), |
graph_(graph), |