summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2021-10-21 10:52:47 +0100
committer Santiago Aboy Solanes <solanes@google.com> 2021-11-09 17:22:30 +0000
commit970ba219234b16918e68e2b4ffddb2b896225b3e (patch)
tree335b9a51612a386e60f7c8746aaccf86d3305842 /compiler/optimizing/stack_map_stream.h
parente10abe7d84ed44d61401d24073f01d1c7777e17c (diff)
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
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r--compiler/optimizing/stack_map_stream.h5
1 files changed, 4 insertions, 1 deletions
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<kArenaAllocStackMapStream> {
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 {