Skip to content

Commit

Permalink
[riscv] Port [wasm][liftoff] Fix and cleanup tracing of return value
Browse files Browse the repository at this point in the history
Port commit 6f9e71f

Change-Id: Id5226e0892f67573cea289040c2d5aa85f159478
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3886478
Commit-Queue: ji qiu <qiuji@iscas.ac.cn>
Reviewed-by: ji qiu <qiuji@iscas.ac.cn>
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn>
Cr-Commit-Position: refs/heads/main@{#83122}
  • Loading branch information
luyahan authored and V8 LUCI CQ committed Sep 10, 2022
1 parent 5ccb7f2 commit b1a1477
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wasm/baseline/riscv/liftoff-assembler-riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ void LiftoffAssembler::PatchPrepareStackFrame(
GenPCRelativeJump(kScratchReg, imm32);
}

void LiftoffAssembler::LoadSpillAddress(Register dst, int offset) {
SubWord(dst, fp, offset);
}

void LiftoffAssembler::FinishCode() { ForceConstantPoolEmissionWithoutJump(); }

void LiftoffAssembler::AbortCompilation() { AbortedCodeGeneration(); }
Expand Down

0 comments on commit b1a1477

Please sign in to comment.