Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index d1efe1435d3a8872285de1fe2d56a77c32174392..7a8612373c99ed320082ee3ce08856cd8fd725d7 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -124,6 +124,11 @@ const int kFloatSize = sizeof(float); // NOLINT |
const int kDoubleSize = sizeof(double); // NOLINT |
const int kIntptrSize = sizeof(intptr_t); // NOLINT |
const int kPointerSize = sizeof(void*); // NOLINT |
+#if V8_TARGET_ARCH_ARM64 |
+const int kFrameAlignmentInBytes = 2 * kPointerSize; |
+#else |
+const int kFrameAlignmentInBytes = kPointerSize; |
+#endif |
#if V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT |
const int kRegisterSize = kPointerSize + kPointerSize; |
#else |
@@ -132,6 +137,12 @@ const int kRegisterSize = kPointerSize; |
const int kPCOnStackSize = kRegisterSize; |
const int kFPOnStackSize = kRegisterSize; |
+#if V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_IA32 |
+const int kElidedFrameSlots = kPCOnStackSize / kPointerSize; |
+#else |
+const int kElidedFrameSlots = 0; |
+#endif |
+ |
const int kDoubleSizeLog2 = 3; |
#if V8_HOST_ARCH_64_BIT |