diff options
author | 2017-02-01 16:46:28 -0800 | |
---|---|---|
committer | 2017-04-21 08:40:33 -0700 | |
commit | c6ea7d00ad069a2736f603daa3d8eaa9a1f8ea11 (patch) | |
tree | a6d3332a8592fb806841314d55b206b573d37d86 /runtime/interpreter/unstarted_runtime_test.cc | |
parent | d68677c5fde1ace16ea58d65733776c954e7acb4 (diff) |
ART: Clean up art_method.h
Clean up the header. Fix up other headers including the -inl file,
in an effort to prune the include graph. Fix broken transitive
includes by making includes explicit. Introduce new -inl files
for method handles and reference visiting.
Test: source build/envsetup.sh && lunch aosp_angler-userdebug && mmma art
Test: source build/envsetup.sh && lunch aosp_mips64-userdebug && mmma art
Change-Id: I8f60f1160c2a702fdf3598149dae38f6fa6bc851
Diffstat (limited to 'runtime/interpreter/unstarted_runtime_test.cc')
-rw-r--r-- | runtime/interpreter/unstarted_runtime_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/interpreter/unstarted_runtime_test.cc b/runtime/interpreter/unstarted_runtime_test.cc index 56e261cfc8..c314f3c35e 100644 --- a/runtime/interpreter/unstarted_runtime_test.cc +++ b/runtime/interpreter/unstarted_runtime_test.cc @@ -1341,7 +1341,8 @@ TEST_F(UnstartedRuntimeTest, ConstructorNewInstance0) { ASSERT_TRUE(cons != nullptr); Handle<mirror::ObjectArray<mirror::Object>> args = hs.NewHandle( - class_linker->AllocObjectArray<mirror::Object>(self, 1)); + mirror::ObjectArray<mirror::Object>::Alloc( + self, class_linker_->GetClassRoot(ClassLinker::ClassRoot::kObjectArrayClass), 1)); ASSERT_TRUE(args != nullptr); args->Set(0, input.Get()); |