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.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compiler/compiled_method.h') diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index aa6fd3e655..f88028034d 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -112,7 +112,6 @@ class CompiledMethod FINAL : public CompiledCode { CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef& quick_code, - const ArrayRef& method_info, const ArrayRef& vmap_table, const ArrayRef& cfi_info, const ArrayRef& patches); @@ -123,7 +122,6 @@ class CompiledMethod FINAL : public CompiledCode { CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef& quick_code, - const ArrayRef& method_info, const ArrayRef& vmap_table, const ArrayRef& cfi_info, const ArrayRef& patches); @@ -142,8 +140,6 @@ class CompiledMethod FINAL : public CompiledCode { SetPackedField(/* value */ true); } - ArrayRef GetMethodInfo() const; - ArrayRef GetVmapTable() const; ArrayRef GetCFIInfo() const; @@ -159,8 +155,6 @@ class CompiledMethod FINAL : public CompiledCode { using IsIntrinsicField = BitField; - // For quick code, method specific information that is not very dedupe friendly (method indices). - const LengthPrefixedArray* const method_info_; // For quick code, holds code infos which contain stack maps, inline information, and etc. const LengthPrefixedArray* const vmap_table_; // For quick code, a FDE entry for the debug_frame section. -- cgit v1.2.3-59-g8ed1b