summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-01-21 12:42:57 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2015-01-21 12:42:57 +0000
commitc399fdc442db82dfda66e6c25518872ab0f1d24f (patch)
tree6f0841ad5e8e80b09e34e084ae8eac336bce73a2 /compiler/optimizing/nodes.cc
parent41aedbb684ccef76ff8373f39aba606ce4cb3194 (diff)
Revert "Fully support pairs in the register allocator."
Libcore tests fail. This reverts commit 41aedbb684ccef76ff8373f39aba606ce4cb3194. Change-Id: I2572f120d4bbaeb7a4d4cbfd47ab00c9ea39ac6c
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index 800af409a2..ade31380ec 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -646,7 +646,7 @@ HConstant* HBinaryOperation::TryStaticEvaluation() const {
if (GetResultType() == Primitive::kPrimLong) {
return new(GetBlock()->GetGraph()->GetArena()) HLongConstant(value);
} else {
- DCHECK_EQ(GetResultType(), Primitive::kPrimInt);
+ DCHECK(GetResultType() == Primitive::kPrimInt);
return new(GetBlock()->GetGraph()->GetArena()) HIntConstant(value);
}
}