Commit 3e48c30a authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC/s390: fix Generate_DeserializeLazy to use ip for tail call

Fix lazy deserialization. ip needs to be the address of the calling
function

R=joransiu@ca.ibm.com, jbarboza@ca.ibm.com, michael_dawson@ca.ibm.com

Bug: 
Change-Id: I0852d12328f9a0585c38afa5e121b8b4116520dc
Reviewed-on: https://chromium-review.googlesource.com/726420Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#48704}
parent f4063610
......@@ -1433,7 +1433,8 @@ void Builtins::Generate_DeserializeLazy(MacroAssembler* masm) {
__ addi(target_builtin, target_builtin,
Operand(Code::kHeaderSize - kHeapObjectTag));
__ Jump(target_builtin);
__ mr(ip, target_builtin);
__ Jump(ip);
}
__ bind(&deserialize_in_runtime);
......
......@@ -1429,7 +1429,8 @@ void Builtins::Generate_DeserializeLazy(MacroAssembler* masm) {
__ AddP(target_builtin, target_builtin,
Operand(Code::kHeaderSize - kHeapObjectTag));
__ Jump(target_builtin);
__ LoadRR(ip, target_builtin);
__ Jump(ip);
}
__ bind(&deserialize_in_runtime);
......
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