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}
This commit is contained in:
Milad Farazmand 2019-12-05 21:06:45 +00:00 committed by Commit Bot
parent a16b2c7eef
commit 0a055086c3

View File

@ -67,7 +67,7 @@ void LoadRealStackLimit(MacroAssembler* masm, Register destination) {
intptr_t offset =
TurboAssembler::RootRegisterOffsetForExternalReference(isolate, limit);
CHECK(is_int32(offset));
__ LoadP(destination, MemOperand(kRootRegister, offset));
__ LoadP(destination, MemOperand(kRootRegister, offset), r0);
}
void Generate_StackOverflowCheck(MacroAssembler* masm, Register num_args,