From b63adc919ba9a53f4fbad476356c702845821149 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Mon, 24 Jun 2024 08:02:27 +0000 Subject: Revert^3 "x86_64: Add JIT support for LoadMethodType." This reverts commit d92a43f4310e2d634d6e8f24103fc1e27557d784. Reason for revert: Failing 979-const-method-handle https://ci.chromium.org/ui/p/art/builders/ci/host-x86_64-cms/10095/overview Change-Id: I9b44d8cc66e98db074edfa90ce2ebab087e4b115 --- compiler/optimizing/code_generation_data.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'compiler/optimizing/code_generation_data.cc') diff --git a/compiler/optimizing/code_generation_data.cc b/compiler/optimizing/code_generation_data.cc index afc4f62f0f..7b23d46dc5 100644 --- a/compiler/optimizing/code_generation_data.cc +++ b/compiler/optimizing/code_generation_data.cc @@ -20,7 +20,6 @@ #include "intern_table.h" #include "mirror/object-inl.h" #include "runtime.h" -#include "well_known_classes-inl.h" namespace art HIDDEN { @@ -53,16 +52,6 @@ void CodeGenerationData::EmitJitRoots( entry.second = index; ++index; } - for (auto& entry : jit_method_type_roots_) { - // Update the `roots` with the MethodType, and replace the address temporarily - // stored to the index in the table. - uint64_t address = entry.second; - roots->emplace_back(reinterpret_cast*>(address)); - DCHECK(roots->back() != nullptr); - DCHECK(roots->back()->InstanceOf(WellKnownClasses::java_lang_invoke_MethodType.Get())); - entry.second = index; - ++index; - } } } // namespace art -- cgit v1.2.3-59-g8ed1b