diff options
author | 2022-06-17 12:04:17 +0100 | |
---|---|---|
committer | 2022-06-28 10:07:22 +0000 | |
commit | f7eedfe04e5a92861dd0de68ea7642dbc4729ac1 (patch) | |
tree | 8e616acf4a792cf69de5f18644fcc9fb20393fe5 /compiler/optimizing/ssa_builder.cc | |
parent | 6926665a177f284649c22134f78dea4c87deef9d (diff) |
Get the ClassLoader from the DexCache in ReferenceTypePropagation
We were passing it down as a parameter when we can simply get it
from the dex cache. Passing it down as a parameter brings the
possibility of using the wrong class loader and can be the source
of bugs.
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I7fbf3d6f79186d4eb695c77b876291d02e3170ba
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r-- | compiler/optimizing/ssa_builder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc index 67ee83c9dd..a36b74bba9 100644 --- a/compiler/optimizing/ssa_builder.cc +++ b/compiler/optimizing/ssa_builder.cc @@ -538,7 +538,6 @@ GraphAnalysisResult SsaBuilder::BuildSsa() { // Compute type of reference type instructions. The pass assumes that // NullConstant has been fixed up. ReferenceTypePropagation(graph_, - class_loader_, dex_cache_, /* is_first_run= */ true).Run(); |