Commit 6bcf28ba authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC: Fix kCallerFPOffset for no CP

Change-Id: I7991225d49797f292c7e565e00c79f418154449f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2506234
Commit-Queue: Junliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Auto-Submit: Junliang Yan <junyan@redhat.com>
Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#70858}
parent 2c555da9
......@@ -15,7 +15,9 @@ namespace internal {
class EntryFrameConstants : public AllStatic {
public:
// Need to take constant pool into account.
static constexpr int kCallerFPOffset = -4 * kSystemPointerSize;
static constexpr int kCallerFPOffset = FLAG_enable_embedded_constant_pool
? -4 * kSystemPointerSize
: -3 * kSystemPointerSize;
};
class WasmCompileLazyFrameConstants : public TypedFrameConstants {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment