diff options
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 6945ff0d53..b7dd756452 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -3289,19 +3289,8 @@ class HParallelMove : public HTemplateInstruction<0> { if (kIsDebugBuild) { if (instruction != nullptr) { for (size_t i = 0, e = moves_.Size(); i < e; ++i) { - if (moves_.Get(i).GetInstruction() == instruction) { - // Special case the situation where the move is for the spill slot - // of the instruction. - if ((GetPrevious() == instruction) - || ((GetPrevious() == nullptr) - && instruction->IsPhi() - && instruction->GetBlock() == GetBlock())) { - DCHECK_NE(destination.GetKind(), moves_.Get(i).GetDestination().GetKind()) - << "Doing parallel moves for the same instruction."; - } else { - DCHECK(false) << "Doing parallel moves for the same instruction."; - } - } + DCHECK_NE(moves_.Get(i).GetInstruction(), instruction) + << "Doing parallel moves for the same instruction."; } } for (size_t i = 0, e = moves_.Size(); i < e; ++i) { |