diff options
author | Vladimir Marko <vmarko@google.com> | 2018-10-15 14:24:21 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2018-10-16 10:47:24 +0100 |
commit | b546163926889130354ccdbcccb80c0331c13f3c (patch) | |
tree | b4a3fb30e11e2abc671fb0b4b8098acd8fc49ce2 /compiler/optimizing/code_generator.h | |
parent | 8db807252e1d4d0bab7785be231e20a1e5fd8e74 (diff) |
Fix HNewArray with unresolved primitive array type.
And enable test 920-objects that was crashing because
of this bug.
Test: testrunner.py --host --jit-on-first-use -t 920
Test: testrunner.py --host --optimizing
Test: m test-art-host-gtest
Bug: 117638896
Change-Id: I47dc893b121c82de537b3147c86d37a6eecf2d62
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r-- | compiler/optimizing/code_generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 4e73e0bdcb..3f560780ce 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -636,7 +636,7 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> { virtual void GenerateNop() = 0; - static QuickEntrypointEnum GetArrayAllocationEntrypoint(Handle<mirror::Class> array_klass); + static QuickEntrypointEnum GetArrayAllocationEntrypoint(HNewArray* new_array); protected: // Patch info used for recording locations of required linker patches and their targets, |