Commit 25d70236 authored by Farazmand's avatar Farazmand Committed by Commit Bot

PPC: Updating kConstantPoolOffset to Match the variable defined in objects/code header file

Change-Id: I4ac61b2b1c9050b942028d07e78abf5fea1a9bbd
Reviewed-on: https://chromium-review.googlesource.com/c/1454837Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#59376}
parent 2936e33c
......@@ -911,7 +911,7 @@ void TurboAssembler::LoadConstantPoolPointerRegisterFromCodeTargetAddress(
Register code_target_address) {
lwz(kConstantPoolRegister,
MemOperand(code_target_address,
Code::kConstantPoolOffset - Code::kHeaderSize));
Code::kConstantPoolOffsetOffset - Code::kHeaderSize));
add(kConstantPoolRegister, kConstantPoolRegister, code_target_address);
}
......
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