summaryrefslogtreecommitdiff
path: root/compiler/compiler.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-11-16 12:44:15 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2022-11-18 08:29:35 +0000
commitbdbee06484b13d77cc70c5be388e69a4f8c21170 (patch)
tree98cbea43ed3d9ee0b2089a90b1be9e79592fc9d1 /compiler/compiler.h
parentb1baa738ddf58b02793ba140f2404d01394fa687 (diff)
Make remaining compiler/ symbols hidden.
And mark required symbols with EXPORT. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --jit Change-Id: I1b4e3c1ef9006924456dc36ec906bf74b62adab4
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r--compiler/compiler.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h
index 6115d0231a..ce785bb769 100644
--- a/compiler/compiler.h
+++ b/compiler/compiler.h
@@ -17,12 +17,13 @@
#ifndef ART_COMPILER_COMPILER_H_
#define ART_COMPILER_COMPILER_H_
+#include "base/macros.h"
#include "base/mutex.h"
#include "base/os.h"
#include "compilation_kind.h"
#include "dex/invoke_type.h"
-namespace art {
+namespace art HIDDEN {
namespace dex {
struct CodeItem;
@@ -52,9 +53,9 @@ class Compiler {
kOptimizing
};
- static Compiler* Create(const CompilerOptions& compiler_options,
- CompiledCodeStorage* storage,
- Kind kind);
+ EXPORT static Compiler* Create(const CompilerOptions& compiler_options,
+ CompiledCodeStorage* storage,
+ Kind kind);
virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0;