summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-01-14 10:49:16 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2015-01-21 11:27:57 +0000
commit41aedbb684ccef76ff8373f39aba606ce4cb3194 (patch)
tree94929237a0fe9b24dda7409d9433f07e82af4461 /compiler/optimizing/nodes.cc
parent97c89e4c081dcf4bacbde70b6609e366c9da417e (diff)
Fully support pairs in the register allocator.
Enabled on ARM for longs and doubles. Change-Id: Id8792d08bd7ca9fb049c5db8a40ae694bafc2d8b
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 ade31380ec..800af409a2 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(GetResultType() == Primitive::kPrimInt);
+ DCHECK_EQ(GetResultType(), Primitive::kPrimInt);
return new(GetBlock()->GetGraph()->GetArena()) HIntConstant(value);
}
}