diff options
author | David Srbecky <dsrbecky@google.com> | 2018-07-15 23:58:44 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2018-08-01 14:49:40 +0100 |
commit | 8cd54547cec8a4537db5682c2da8be22843b1310 (patch) | |
tree | fb1158993bab2e027984cedab59b402c051a45a7 /compiler/compiled_method-inl.h | |
parent | 91f0fdb4372d3f2bcfcd9db67afcbe7ee1901048 (diff) |
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
Diffstat (limited to 'compiler/compiled_method-inl.h')
-rw-r--r-- | compiler/compiled_method-inl.h | 4 |
1 files changed, 0 insertions, 4 deletions
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<const T> CompiledCode::GetArray(const LengthPrefixedArray<T>* ar return ArrayRef<const T>(&array->At(0), array->size()); } -inline ArrayRef<const uint8_t> CompiledMethod::GetMethodInfo() const { - return GetArray(method_info_); -} - inline ArrayRef<const uint8_t> CompiledMethod::GetVmapTable() const { return GetArray(vmap_table_); } |