PPC: Remove unnecessary dcheck

Change-Id: I1d342b80589bedb6365ef0c91ad156d71ecc0622
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2542982
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71213}
This commit is contained in:
Junliang Yan 2020-11-16 17:21:48 -05:00 committed by Commit Bot
parent e50161e549
commit 639783de6d

View File

@ -3927,7 +3927,6 @@ void CodeGenerator::AssembleReturn(InstructionOperand* additional_pop_count) {
}
__ Drop(argc_reg);
} 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();
__ Drop(parameter_count + additional_count);
} else if (parameter_count == 0) {