summaryrefslogtreecommitdiffstats
path: root/compiler/dex/pass_driver.h
diff options
context:
space:
mode:
authorWei Wang <wangw@codeaurora.org>2015-07-21 12:18:48 -0700
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:20:36 -0600
commit048801b194a1664f1fc1dd55338f44e92c283138 (patch)
treecc010c5edd8d359acbb40ebf4a5b8c843868a5ae /compiler/dex/pass_driver.h
parent22983bd723dcc57e62bbc21d052e11ff8d1d218f (diff)
downloadart-048801b194a1664f1fc1dd55338f44e92c283138.tar.gz
art-048801b194a1664f1fc1dd55338f44e92c283138.tar.bz2
art-048801b194a1664f1fc1dd55338f44e92c283138.zip
ART: extension
1. add hooks for further extension 2. minor code change Change-Id: I2615013b899f5f9b3495546e6001863fb054861a
Diffstat (limited to 'compiler/dex/pass_driver.h')
-rw-r--r--compiler/dex/pass_driver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/dex/pass_driver.h b/compiler/dex/pass_driver.h
index 8762b53af..fcb6f7dea 100644
--- a/compiler/dex/pass_driver.h
+++ b/compiler/dex/pass_driver.h
@@ -25,11 +25,19 @@
namespace art {
+#ifdef QC_STRONG
+#define QC_WEAK
+#else
+#define QC_WEAK __attribute__((weak))
+#endif
+
class Pass;
class PassDataHolder;
class PassDriver;
class PassManager;
+const Pass* GetMorePassInstance() QC_WEAK;
+
// Empty holder for the constructor.
class PassDriverDataHolder {
};