summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h
index b0c26b0d2cc..59482369bae 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.h
+++ b/llvm/lib/ExecutionEngine/JIT/JIT.h
@@ -43,6 +43,10 @@ class JIT : public ExecutionEngine {
public:
~JIT();
+ /// getJITInfo - Return the target JIT information structure.
+ ///
+ TargetJITInfo &getJITInfo() const { return TJI; }
+
/// create - Create an return a new JIT compiler if there is one available
/// for the current target. Otherwise, return null. If the JIT is created
/// successfully, it takes responsibility for deleting the specified
OpenPOWER on IntegriCloud