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/code_generator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 6b3ae419c5..ced94f43f0 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -1547,7 +1547,8 @@ void CodeGenerator::EmitEnvironment(HEnvironment* environment, stack_map_stream->BeginInlineInfoEntry(environment->GetMethod(), environment->GetDexPc(), needs_vreg_info ? environment->Size() : 0, - &graph_->GetDexFile()); + &graph_->GetDexFile(), + this); } if (needs_vreg_info) { -- cgit v1.2.3-59-g8ed1b