From 970ba219234b16918e68e2b4ffddb2b896225b3e Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Thu, 21 Oct 2021 10:52:47 +0100 Subject: Inline across dex files for compiler options' non-BCP methods We are now able to inline across dexfiles for the dexfiles present in compiler options' dex_files_for_oat_file_. Note that the dex files in the Class Loader Context are not included in this implementation since they will not have an OatDexFile. Bug: 154012332 Test: ART tests Change-Id: I7704217d936afecb66fc952c10529bb1030d6981 --- compiler/optimizing/stack_map_stream.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/stack_map_stream.h') diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index 3ded07d6cd..27145a174c 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -30,6 +30,8 @@ namespace art { +class CodeGenerator; + /** * Collects and builds stack maps for a method. All the stack maps * for a method are placed in a CodeInfo object. @@ -80,7 +82,8 @@ class StackMapStream : public DeletableArenaObject { void BeginInlineInfoEntry(ArtMethod* method, uint32_t dex_pc, uint32_t num_dex_registers, - const DexFile* outer_dex_file = nullptr); + const DexFile* outer_dex_file = nullptr, + const CodeGenerator* codegen = nullptr); void EndInlineInfoEntry(); size_t GetNumberOfStackMaps() const { -- cgit v1.2.3-59-g8ed1b