Index: src/arm/frames-arm.h |
diff --git a/src/arm/frames-arm.h b/src/arm/frames-arm.h |
index e6ecda1fb533b54da7cd29da32e6819dca2181ec..29000ca3ab52e98604827aba682505aeaaa1c503 100644 |
--- a/src/arm/frames-arm.h |
+++ b/src/arm/frames-arm.h |
@@ -109,8 +109,13 @@ class EntryFrameConstants : public AllStatic { |
class ExitFrameConstants : public AllStatic { |
public: |
- static const int kCodeOffset = -2 * kPointerSize; |
- static const int kSPOffset = -1 * kPointerSize; |
+ static const int kFrameSize = FLAG_enable_ool_constant_pool ? |
+ 3 * kPointerSize : 2 * kPointerSize; |
+ |
+ static const int kConstantPoolOffset = FLAG_enable_ool_constant_pool ? |
+ -3 * kPointerSize : 0; |
+ static const int kCodeOffset = -2 * kPointerSize; |
+ static const int kSPOffset = -1 * kPointerSize; |
// The caller fields are below the frame pointer on the stack. |
static const int kCallerFPOffset = 0 * kPointerSize; |