summaryrefslogtreecommitdiff
path: root/deps/v8/src/execution/ppc/frame-constants-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/execution/ppc/frame-constants-ppc.h')
-rw-r--r--deps/v8/src/execution/ppc/frame-constants-ppc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/execution/ppc/frame-constants-ppc.h b/deps/v8/src/execution/ppc/frame-constants-ppc.h
index 6c82a864fe..352d309379 100644
--- a/deps/v8/src/execution/ppc/frame-constants-ppc.h
+++ b/deps/v8/src/execution/ppc/frame-constants-ppc.h
@@ -16,9 +16,9 @@ namespace internal {
class EntryFrameConstants : public AllStatic {
public:
// Need to take constant pool into account.
- static constexpr int kCallerFPOffset =
- v8_flags.enable_embedded_constant_pool.value() ? -4 * kSystemPointerSize
- : -3 * kSystemPointerSize;
+ static constexpr int kCallerFPOffset = V8_EMBEDDED_CONSTANT_POOL_BOOL
+ ? -4 * kSystemPointerSize
+ : -3 * kSystemPointerSize;
};
class WasmCompileLazyFrameConstants : public TypedFrameConstants {