Skip to content

Commit 0a05508

Browse files
Milad FarazmandCommit Bot
authored andcommitted
PPC: Using a scratch register under LoadRealStackLimit
Change-Id: Id9e9142a8ff185309b91dcfff70dae8ccf8b5166 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1954244 Reviewed-by: Junliang Yan <jyan@ca.ibm.com> Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#65357}
1 parent a16b2c7 commit 0a05508

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/builtins/ppc/builtins-ppc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void LoadRealStackLimit(MacroAssembler* masm, Register destination) {
6767
intptr_t offset =
6868
TurboAssembler::RootRegisterOffsetForExternalReference(isolate, limit);
6969
CHECK(is_int32(offset));
70-
__ LoadP(destination, MemOperand(kRootRegister, offset));
70+
__ LoadP(destination, MemOperand(kRootRegister, offset), r0);
7171
}
7272

7373
void Generate_StackOverflowCheck(MacroAssembler* masm, Register num_args,

0 commit comments

Comments
 (0)