summaryrefslogtreecommitdiff
path: root/compiler/optimizing/scheduler.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-03-05 17:53:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-03-05 17:53:15 +0000
commit4927ba0f5011b7394e52dca2c3cec52f265f8529 (patch)
tree9214177a5617f2024dcf2b75b016e2b5c063d3c6 /compiler/optimizing/scheduler.cc
parent7664e3473747565d438afb19f1cf7edb5a57e5e9 (diff)
parent3dad341ed027b760d9b4ee402cb2c93ac484a07a (diff)
Merge "Introduce ABS as HIR nodes."
Diffstat (limited to 'compiler/optimizing/scheduler.cc')
-rw-r--r--compiler/optimizing/scheduler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/scheduler.cc b/compiler/optimizing/scheduler.cc
index bb28d50b56..cdbe48342d 100644
--- a/compiler/optimizing/scheduler.cc
+++ b/compiler/optimizing/scheduler.cc
@@ -667,7 +667,8 @@ bool HScheduler::IsSchedulable(const HInstruction* instruction) const {
// HUnaryOperation (or HBinaryOperation), check in debug mode that we have
// the exhaustive lists here.
if (instruction->IsUnaryOperation()) {
- DCHECK(instruction->IsBooleanNot() ||
+ DCHECK(instruction->IsAbs() ||
+ instruction->IsBooleanNot() ||
instruction->IsNot() ||
instruction->IsNeg()) << "unexpected instruction " << instruction->DebugName();
return true;