diff options
author | 2014-10-09 17:51:36 +0100 | |
---|---|---|
committer | 2014-10-09 17:59:50 +0100 | |
commit | 476df557fed5f0b3f32f8d11a654674bb403a8f8 (patch) | |
tree | 0ca72785e60b3b1152bca0908e6d134c0a30f631 /compiler/optimizing/ssa_builder.cc | |
parent | 9e878d50567f624094f3c4940ac3aedbc5eff3b9 (diff) |
Use Is*() helpers to shorten code in the optimizing compiler.
Change-Id: I79f31833bc9a0aa2918381aa3fb0b05d45f75689
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r-- | compiler/optimizing/ssa_builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc index 471307ec31..be2c03957d 100644 --- a/compiler/optimizing/ssa_builder.cc +++ b/compiler/optimizing/ssa_builder.cc @@ -51,7 +51,7 @@ void SsaBuilder::BuildSsa() { !it.Done(); it.Advance()) { HInstruction* current = it.Current(); - if (current->AsLocal() != nullptr) { + if (current->IsLocal()) { current->GetBlock()->RemoveInstruction(current); } } |