summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r--compiler/optimizing/ssa_builder.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc
index a658252e69..08ccbeee0d 100644
--- a/compiler/optimizing/ssa_builder.cc
+++ b/compiler/optimizing/ssa_builder.cc
@@ -652,16 +652,16 @@ HPhi* SsaBuilder::GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, DataType::
// We place the floating point /reference phi next to this phi.
HInstruction* next = phi->GetNext();
- if (next != nullptr
- && next->AsPhi()->GetRegNumber() == phi->GetRegNumber()
- && next->GetType() != type) {
+ if (next != nullptr &&
+ next->AsPhi()->GetRegNumber() == phi->GetRegNumber() &&
+ next->GetType() != type) {
// Move to the next phi to see if it is the one we are looking for.
next = next->GetNext();
}
- if (next == nullptr
- || (next->AsPhi()->GetRegNumber() != phi->GetRegNumber())
- || (next->GetType() != type)) {
+ if (next == nullptr ||
+ (next->AsPhi()->GetRegNumber() != phi->GetRegNumber()) ||
+ (next->GetType() != type)) {
ArenaAllocator* allocator = graph_->GetAllocator();
HInputsRef inputs = phi->GetInputs();
HPhi* new_phi = new (allocator) HPhi(allocator, phi->GetRegNumber(), inputs.size(), type);