diff options
| author | 2015-01-21 11:28:52 +0000 | |
|---|---|---|
| committer | 2015-01-21 11:28:53 +0000 | |
| commit | 1272d4272676005acfcbde25b4eddca64463612b (patch) | |
| tree | f0209185c0877db98ae8efe089228c1fa0d48f71 /compiler/optimizing/nodes.cc | |
| parent | 86657befce55a928c39feebfff9bdf3014d73fba (diff) | |
| parent | 41aedbb684ccef76ff8373f39aba606ce4cb3194 (diff) | |
Merge "Fully support pairs in the register allocator."
Diffstat (limited to 'compiler/optimizing/nodes.cc')
| -rw-r--r-- | compiler/optimizing/nodes.cc | 2 |
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); } } |