From bdbee06484b13d77cc70c5be388e69a4f8c21170 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 16 Nov 2022 12:44:15 +0000 Subject: 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 --- compiler/compiler.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'compiler/compiler.h') 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; -- cgit v1.2.3-59-g8ed1b