Commit 0c760fad authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

s390x: [liftoff] fix CHECK errors for new types

Change-Id: I9241573c3644918028e2b302da2988cca0973cb8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2698089Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#72792}
parent a9f2bb0b
......@@ -1103,7 +1103,10 @@ void LiftoffAssembler::emit_cond_jump(LiftoffCondition liftoff_cond,
}
}
} else {
CHECK_EQ(type.kind(), ValueType::kI64);
CHECK(type.kind() == ValueType::kI64 || type.kind() == ValueType::kOptRef ||
type.kind() == ValueType::kRtt ||
type.kind() == ValueType::kRttWithDepth ||
type.kind() == ValueType::kRef);
if (rhs == no_reg) {
if (use_signed) {
CmpS64(lhs, Operand::Zero());
......
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