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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/execution/ppc/frame-constants-ppc.h b/deps/v8/src/execution/ppc/frame-constants-ppc.h
index 24ef585031..0931ffe101 100644
--- a/deps/v8/src/execution/ppc/frame-constants-ppc.h
+++ b/deps/v8/src/execution/ppc/frame-constants-ppc.h
@@ -14,8 +14,8 @@ namespace internal {
class EntryFrameConstants : public AllStatic {
public:
- static constexpr int kCallerFPOffset =
- -(StandardFrameConstants::kFixedFrameSizeFromFp + kSystemPointerSize);
+ // Need to take constant pool into account.
+ static constexpr int kCallerFPOffset = -4 * kSystemPointerSize;
};
class WasmCompileLazyFrameConstants : public TypedFrameConstants {