summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 72e4d14789..ca1ab1d8d6 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -155,7 +155,6 @@
#include "thread.h"
#include "thread_list.h"
#include "trace.h"
-#include "transaction.h"
#include "vdex_file.h"
#include "verifier/class_verifier.h"
#include "verifier/verifier_deps.h"
@@ -11341,6 +11340,12 @@ void ClassLinker::VisitTransactionRoots([[maybe_unused]] RootVisitor* visitor) {
// Nothing to do for normal `ClassLinker`, only `AotClassLinker` handles transactions.
}
+const void* ClassLinker::GetTransactionalInterpreter() {
+ // Should not be called on ClassLinker, only on AotClassLinker that overrides this.
+ LOG(FATAL) << "UNREACHABLE";
+ UNREACHABLE();
+}
+
void ClassLinker::RemoveDexFromCaches(const DexFile& dex_file) {
ReaderMutexLock mu(Thread::Current(), *Locks::dex_lock_);