diff options
author | 2014-10-13 11:36:10 +0000 | |
---|---|---|
committer | 2014-10-13 11:36:11 +0000 | |
commit | f8e28f575b1382e984edb2e8c9846a27a1bdea10 (patch) | |
tree | 12506af9dc858d842061843570a939e74822b517 /compiler/optimizing/ssa_builder.cc | |
parent | f659bec20db45c809a891ff528fb6aecf2c76149 (diff) | |
parent | 476df557fed5f0b3f32f8d11a654674bb403a8f8 (diff) |
Merge "Use Is*() helpers to shorten code in the optimizing compiler."
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); } } |