[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:
parent
6ad781ccd5
commit
d9abfa1529
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user