Commit 658c71f6 authored by sreten.kovacevic's avatar sreten.kovacevic Committed by Commit Bot

[simulator][MIPS64]: Remove unnecessary DCHECK

After commit a3baa353
`[simulator] Make Call variadic` this DCHECK always fails
for negative input.

Bug: 
Change-Id: Ib0efa8380586ac21b7b8537978310f8397b37ca5
Reviewed-on: https://chromium-review.googlesource.com/859460Reviewed-by: 's avatarIvica Bogosavljevic <ivica.bogosavljevic@mips.com>
Commit-Queue: Ivica Bogosavljevic <ivica.bogosavljevic@mips.com>
Cr-Commit-Position: refs/heads/master@{#50473}
parent f3c67392
...@@ -6873,7 +6873,6 @@ void Simulator::DecodeTypeImmediate() { ...@@ -6873,7 +6873,6 @@ void Simulator::DecodeTypeImmediate() {
break; break;
// ------------- Arithmetic instructions. // ------------- Arithmetic instructions.
case ADDIU: { case ADDIU: {
DCHECK(is_int32(rs));
int32_t alu32_out = static_cast<int32_t>(rs + se_imm16); int32_t alu32_out = static_cast<int32_t>(rs + se_imm16);
// Sign-extend result of 32bit operation into 64bit register. // Sign-extend result of 32bit operation into 64bit register.
SetResult(rt_reg, static_cast<int64_t>(alu32_out)); SetResult(rt_reg, static_cast<int64_t>(alu32_out));
......
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