summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2020-05-12 13:58:51 +0100
committer Vladimir Marko <vmarko@google.com> 2020-05-13 08:00:22 +0000
commit02ca05a5a6e3f5028c6c2987a81be481d07bc617 (patch)
treea364c4a46c573fdfddf607b0e78e5fd3f455c17f /compiler/optimizing/ssa_builder.cc
parent5868adaefe72cc8bcdcd8325c40f712375a506d1 (diff)
Move HandleCache to HGraph.
This avoids passing the `VariableSizedHandleScope*` argument around and eliminates HGraph::inexact_object_rti_ and its initialization. The latter shall allow running Optimizing gtests that do not require type information without creating a Runtime in future. (To be implemented in a separate CL.) Test: m test-art-host-gtest Test: testrunner.py --host --optmizing Test: aosp_taimen-userdebug boots. Change-Id: I36fe9bc556c6d610d644c8c14cc74c9985a14d64
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r--compiler/optimizing/ssa_builder.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc
index a5e8ff65a9..67ee83c9dd 100644
--- a/compiler/optimizing/ssa_builder.cc
+++ b/compiler/optimizing/ssa_builder.cc
@@ -540,7 +540,6 @@ GraphAnalysisResult SsaBuilder::BuildSsa() {
ReferenceTypePropagation(graph_,
class_loader_,
dex_cache_,
- handles_,
/* is_first_run= */ true).Run();
// HInstructionBuilder duplicated ArrayGet instructions with ambiguous type