aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index b0c26b0d2c..59482369ba 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/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