Index: src/compiler/frame.h |
diff --git a/src/compiler/frame.h b/src/compiler/frame.h |
index d375e5047b731d762157297936dfaf9782f38cb7..f0909f18037c35ca329d28fb9fe8761547d85c16 100644 |
--- a/src/compiler/frame.h |
+++ b/src/compiler/frame.h |
@@ -136,8 +136,8 @@ class Frame : public ZoneObject { |
return frame_slot_count_ - 1; |
} |
- static const int kContextSlot = 2; |
- static const int kJSFunctionSlot = 3; |
+ static const int kContextSlot = 2 + StandardFrameConstants::kCPSlotCount; |
+ static const int kJSFunctionSlot = 3 + StandardFrameConstants::kCPSlotCount; |
private: |
int AllocateAlignedFrameSlot(int width) { |