summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-10-10 14:07:05 +0200
committer VladimĂ­r Marko <vmarko@google.com> 2024-10-11 11:23:41 +0000
commit23cfc82c8eaad0b7e613dcbc2447061c06f310a0 (patch)
tree907bbbefefb75a7af8c0a8bb17e6483f8446df6a /compiler/optimizing/nodes.cc
parent5701a59d182cee01885717d48110903fe740159a (diff)
Refactor `HandleCache` out of `nodes.{h,cc}`.
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I4989657309b46c1e8fec3e9eb4024f1fc329fbe0
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index 7724c7eb34..9c41aef8b6 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -51,13 +51,6 @@ namespace art HIDDEN {
// double).
static constexpr bool kEnableFloatingPointStaticEvaluation = (FLT_EVAL_METHOD == 0);
-ReferenceTypeInfo::TypeHandle HandleCache::CreateRootHandle(VariableSizedHandleScope* handles,
- ClassRoot class_root) {
- // Mutator lock is required for NewHandle and GetClassRoot().
- ScopedObjectAccess soa(Thread::Current());
- return handles->NewHandle(GetClassRoot(class_root));
-}
-
void HGraph::AddBlock(HBasicBlock* block) {
block->SetBlockId(blocks_.size());
blocks_.push_back(block);