Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: src/builtins/ppc/builtins-ppc.cc

Issue 2765713003: PPC: Use correct register to store returned instr (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/ppc/builtins-ppc.cc
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
index 14341704360b8456b9972a11293cb590f5553a87..1172a3550712573f42df390d9c5ef6f1f4de3a74 100644
--- a/src/builtins/ppc/builtins-ppc.cc
+++ b/src/builtins/ppc/builtins-ppc.cc
@@ -3045,15 +3045,15 @@ void Builtins::Generate_WasmCompileLazy(MacroAssembler* masm) {
// current context on the isolate.
__ LoadSmiLiteral(cp, Smi::kZero);
__ CallRuntime(Runtime::kWasmCompileLazy);
- // Store returned instruction start in ip.
- __ addi(ip, r3, Operand(Code::kHeaderSize - kHeapObjectTag));
+ // Store returned instruction start in r11.
+ __ addi(r11, r3, Operand(Code::kHeaderSize - kHeapObjectTag));
// Restore registers.
__ MultiPopDoubles(fp_regs);
__ MultiPop(gp_regs);
}
// Now jump to the instructions of the returned code object.
- __ Jump(ip);
+ __ Jump(r11);
}
#undef __
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698