summaryrefslogtreecommitdiff
path: root/compiler/export/jit_load.h
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2022-11-07 18:47:13 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-11-07 18:47:13 +0000
commit026d5a1a3677a531212d63d2dcdeb0937655cd6d (patch)
tree0181289ac9ef084c61d31340d8daeaee81e3b1e0 /compiler/export/jit_load.h
parent6b2875bf1193358c5f916017ebae32305414750c (diff)
parent2b7be1efa1ba363778057d4e42fccab8afe3046b (diff)
Merge libart and libart-compiler into a single library am: 2b7be1efa1
Original change: https://android-review.googlesource.com/c/platform/art/+/2251478 Change-Id: I789fc3e997c63ef1a82da0d6ddb7699755383374 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'compiler/export/jit_load.h')
-rw-r--r--compiler/export/jit_load.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/compiler/export/jit_load.h b/compiler/export/jit_load.h
new file mode 100644
index 0000000000..21a0254180
--- /dev/null
+++ b/compiler/export/jit_load.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ART_COMPILER_EXPORT_JIT_LOAD_H_
+#define ART_COMPILER_EXPORT_JIT_LOAD_H_
+
+namespace art {
+namespace jit {
+
+class JitCompilerInterface;
+
+// used in `libart-runtime` to load `libart-compiler` JIT
+extern "C" JitCompilerInterface* jit_load();
+
+} // namespace jit
+} // namespace art
+
+#endif // ART_COMPILER_EXPORT_JIT_LOAD_H_