diff options
author | 2021-10-21 10:52:47 +0100 | |
---|---|---|
committer | 2021-11-09 17:22:30 +0000 | |
commit | 970ba219234b16918e68e2b4ffddb2b896225b3e (patch) | |
tree | 335b9a51612a386e60f7c8746aaccf86d3305842 /compiler/optimizing/code_generator.cc | |
parent | e10abe7d84ed44d61401d24073f01d1c7777e17c (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/code_generator.cc')
-rw-r--r-- | compiler/optimizing/code_generator.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |