aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-20 03:11:07 +0000
committerChris Lattner <sabre@nondot.org>2004-11-20 03:11:07 +0000
commit890b4bd3c0b64235a43159fd44fba9a5a4ae8190 (patch)
treee7242c5f920d58320e3568aca3574c3c1143f4bb
parentb89df9cc631aee0d9cf31565fa1ac84b2c92f1a0 (diff)
downloadexternal_llvm-890b4bd3c0b64235a43159fd44fba9a5a4ae8190.zip
external_llvm-890b4bd3c0b64235a43159fd44fba9a5a4ae8190.tar.gz
external_llvm-890b4bd3c0b64235a43159fd44fba9a5a4ae8190.tar.bz2
Add accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18030 91177308-0d34-0410-b5e6-96231b3b80d8
-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 b0c26b0..5948236 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