Commit f664ed80 authored by Junliang Yan's avatar Junliang Yan Committed by V8 LUCI CQ

ppc64: [baseline] port AssertEqualToAccumulator

Change-Id: I7ff756acb4cbd272d60fedd527e22d47dabaac52
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3632510
Commit-Queue: Junliang Yan <junyan@redhat.com>
Reviewed-by: 's avatarMilad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#80402}
parent 14d4d215
......@@ -704,7 +704,8 @@ void BaselineAssembler::EmitReturn(MacroAssembler* masm) {
inline void EnsureAccumulatorPreservedScope::AssertEqualToAccumulator(
Register reg) {
UNIMPLEMENTED();
assembler_->masm()->CmpU64(reg, kInterpreterAccumulatorRegister);
assembler_->masm()->Assert(eq, AbortReason::kUnexpectedValue);
}
} // namespace baseline
......
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