From 8cd54547cec8a4537db5682c2da8be22843b1310 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Sun, 15 Jul 2018 23:58:44 +0100 Subject: Move MethodInfo to CodeInfo. There is no need to treat it specially any more, because of the de-duplication at BitTable level. This saves 0.6% of oat file size. Test: test-art-host-gtest Change-Id: Ife7927d736243879a41d6f325d49ebf6930a63f6 --- compiler/compiled_method-inl.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/compiled_method-inl.h') diff --git a/compiler/compiled_method-inl.h b/compiler/compiled_method-inl.h index c43274782e..e60b30fed2 100644 --- a/compiler/compiled_method-inl.h +++ b/compiler/compiled_method-inl.h @@ -38,10 +38,6 @@ inline ArrayRef CompiledCode::GetArray(const LengthPrefixedArray* ar return ArrayRef(&array->At(0), array->size()); } -inline ArrayRef CompiledMethod::GetMethodInfo() const { - return GetArray(method_info_); -} - inline ArrayRef CompiledMethod::GetVmapTable() const { return GetArray(vmap_table_); } -- cgit v1.2.3-59-g8ed1b