diff options
| author | 2017-09-26 09:15:35 +0000 | |
|---|---|---|
| committer | 2017-09-26 09:15:35 +0000 | |
| commit | 4894cdd8ebd4624f0f09c1545c1bbf7ff0bb5bc3 (patch) | |
| tree | d2e2cc57dd046e2bd06cb3cc67e2e9f6950dac87 /compiler/optimizing/dead_code_elimination.cc | |
| parent | d796c61d303424798c8cd35fabb77760255ea2aa (diff) | |
| parent | 0ebe0d83138bba1996e9c8007969b5381d972b32 (diff) | |
Merge "ART: Introduce compiler data type."
Diffstat (limited to 'compiler/optimizing/dead_code_elimination.cc')
| -rw-r--r-- | compiler/optimizing/dead_code_elimination.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/dead_code_elimination.cc b/compiler/optimizing/dead_code_elimination.cc index 787296dc9d..9b094e989e 100644 --- a/compiler/optimizing/dead_code_elimination.cc +++ b/compiler/optimizing/dead_code_elimination.cc @@ -118,7 +118,7 @@ static bool HasEquality(IfCondition condition) { } static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { - if (left == right && !Primitive::IsFloatingPointType(left->GetType())) { + if (left == right && !DataType::IsFloatingPointType(left->GetType())) { return condition->GetBlock()->GetGraph()->GetIntConstant( HasEquality(condition->GetCondition()) ? 1 : 0); } |