Commit 639783de authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC: Remove unnecessary dcheck

Change-Id: I1d342b80589bedb6365ef0c91ad156d71ecc0622
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2542982Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71213}
parent e50161e5
...@@ -3927,7 +3927,6 @@ void CodeGenerator::AssembleReturn(InstructionOperand* additional_pop_count) { ...@@ -3927,7 +3927,6 @@ void CodeGenerator::AssembleReturn(InstructionOperand* additional_pop_count) {
} }
__ Drop(argc_reg); __ Drop(argc_reg);
} else if (additional_pop_count->IsImmediate()) { } else if (additional_pop_count->IsImmediate()) {
DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type());
int additional_count = g.ToConstant(additional_pop_count).ToInt32(); int additional_count = g.ToConstant(additional_pop_count).ToInt32();
__ Drop(parameter_count + additional_count); __ Drop(parameter_count + additional_count);
} else if (parameter_count == 0) { } else if (parameter_count == 0) {
......
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