summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generation_data.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2024-04-11 16:13:45 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-04-11 17:52:09 +0000
commit69c9ea4f93a688ff50e08060be37bcfd3f3e9910 (patch)
tree2622c38549bc219b7d2dc7c990eb83a30cc6b571 /compiler/optimizing/code_generation_data.cc
parente8da7cd1d0e7d3535c82f8d05adcef3edd43cd40 (diff)
Revert "x86_64: Add JIT support for LoadMethodType."
This reverts commit 53ca944020bb86199f6f80d8594d5deb1b1d46dd. Bug: 297147201 Reason for revert: Crash on bot Change-Id: Ibf3b53a8fe67aa633686990881a96acb783af9a3
Diffstat (limited to 'compiler/optimizing/code_generation_data.cc')
-rw-r--r--compiler/optimizing/code_generation_data.cc11
1 files changed, 0 insertions, 11 deletions
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<StackReference<mirror::Object>*>(address));
- DCHECK(roots->back() != nullptr);
- DCHECK(roots->back()->InstanceOf(WellKnownClasses::java_lang_invoke_MethodType.Get()));
- entry.second = index;
- ++index;
- }
}
} // namespace art