diff options
author | Alex Light <allight@google.com> | 2020-11-18 12:23:48 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-12-10 18:09:40 +0000 |
commit | 3ac2f5a25e9cae22ec8f5ae5e28de93f34d6485a (patch) | |
tree | 70b8e5628d1d98490229ae98b370cf3407cfcc04 /compiler/driver/compiler_options.h | |
parent | 0b8b5a731f37491e1b135f577b16a5376bf4b753 (diff) |
Make RTP::Visit robust against input order
ReferenceTypePropogation::Visit(ArrayRef) relied on the input having a
particular order with known values at the front then topological. This
could cause issues if the list was not properly sorted, causing the
RTP to silently fail. This makes RTP robust against the ordering of
inputs for this function.
Test: ./test.py --host
Bug: 67037140
Change-Id: I03c522ea745f271ce438c82f7c6f3ab476c8249a
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 77237078f8..778e7899b3 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -496,7 +496,7 @@ class CompilerOptions final { friend class Dex2Oat; friend class DexToDexDecompilerTest; friend class CommonCompilerDriverTest; - friend class CommonCompilerTest; + friend class CommonCompilerTestImpl; friend class jit::JitCompiler; friend class verifier::VerifierDepsTest; friend class linker::Arm64RelativePatcherTest; |