[mips][compiler] Replace remaining mutable reference arguments

Port 2304c194f0

Change-Id: I0e46424ddb647355d21b1e54cf96b1e5503627ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1800572
Auto-Submit: Mu Tao <pamilty@gmail.com>
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63716}
This commit is contained in:
Mu Tao 2019-09-12 20:12:28 +08:00 committed by Commit Bot
parent 6ad781ccd5
commit d9abfa1529
2 changed files with 16 additions and 16 deletions

View File

@ -269,29 +269,29 @@ FPUCondition FlagsConditionToConditionCmpFPU(bool* predicate,
FlagsCondition condition) {
switch (condition) {
case kEqual:
predicate = true;
*predicate = true;
return EQ;
case kNotEqual:
predicate = false;
*predicate = false;
return EQ;
case kUnsignedLessThan:
predicate = true;
*predicate = true;
return OLT;
case kUnsignedGreaterThanOrEqual:
predicate = false;
*predicate = false;
return OLT;
case kUnsignedLessThanOrEqual:
predicate = true;
*predicate = true;
return OLE;
case kUnsignedGreaterThan:
predicate = false;
*predicate = false;
return OLE;
case kUnorderedEqual:
case kUnorderedNotEqual:
predicate = true;
*predicate = true;
break;
default:
predicate = true;
*predicate = true;
break;
}
UNREACHABLE();

View File

@ -282,29 +282,29 @@ FPUCondition FlagsConditionToConditionCmpFPU(bool* predicate,
FlagsCondition condition) {
switch (condition) {
case kEqual:
predicate = true;
*predicate = true;
return EQ;
case kNotEqual:
predicate = false;
*predicate = false;
return EQ;
case kUnsignedLessThan:
predicate = true;
*predicate = true;
return OLT;
case kUnsignedGreaterThanOrEqual:
predicate = false;
*predicate = false;
return OLT;
case kUnsignedLessThanOrEqual:
predicate = true;
*predicate = true;
return OLE;
case kUnsignedGreaterThan:
predicate = false;
*predicate = false;
return OLE;
case kUnorderedEqual:
case kUnorderedNotEqual:
predicate = true;
*predicate = true;
break;
default:
predicate = true;
*predicate = true;
break;
}
UNREACHABLE();