PPC/s390: fix ptr-compr error

Change-Id: I275b15d2b37a4043c3cdb8815fab5e93c1b5e728
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2530214
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71097}
This commit is contained in:
Junliang Yan 2020-11-10 16:04:41 -05:00 committed by Commit Bot
parent c033eb0495
commit 0839a72e2c
2 changed files with 4 additions and 2 deletions

View File

@ -464,7 +464,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
// Resume (Ignition/TurboFan) generator object.
{
__ LoadP(r3, FieldMemOperand(r7, JSFunction::kSharedFunctionInfoOffset));
__ LoadTaggedPointerField(
r3, FieldMemOperand(r7, JSFunction::kSharedFunctionInfoOffset));
__ LoadHalfWord(
r3,
FieldMemOperand(r3, SharedFunctionInfo::kFormalParameterCountOffset));

View File

@ -456,7 +456,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
// Resume (Ignition/TurboFan) generator object.
{
__ LoadP(r2, FieldMemOperand(r6, JSFunction::kSharedFunctionInfoOffset));
__ LoadTaggedPointerField(
r2, FieldMemOperand(r6, JSFunction::kSharedFunctionInfoOffset));
__ LoadHalfWordP(
r2,
FieldMemOperand(r2, SharedFunctionInfo::kFormalParameterCountOffset));