diff options
| author | 2017-02-14 22:11:34 +0000 | |
|---|---|---|
| committer | 2017-02-14 22:11:35 +0000 | |
| commit | fe35fe172a7d3469ebf1dae9cca7e1ac8aefcba7 (patch) | |
| tree | 3bf964f7786227f8104eeba08fe2e1768109a764 /compiler/optimizing/code_generator.cc | |
| parent | a0637543dc82dfd54feda7c80da017bd39b1d2d5 (diff) | |
| parent | fa4333dcb481e564f54726b4e6f8153612df835e (diff) | |
Merge "ART: Add operator == and != with nullptr to Handle"
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
| -rw-r--r-- | compiler/optimizing/code_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index d68aa51b1b..bac16cd5df 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -1419,7 +1419,7 @@ void CodeGenerator::EmitJitRoots(uint8_t* code, QuickEntrypointEnum CodeGenerator::GetArrayAllocationEntrypoint(Handle<mirror::Class> array_klass) { ScopedObjectAccess soa(Thread::Current()); - if (array_klass.Get() == nullptr) { + if (array_klass == nullptr) { // This can only happen for non-primitive arrays, as primitive arrays can always // be resolved. return kQuickAllocArrayResolved32; |