summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
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
commitb7b78508a8066f781253a17d36cdfe387cc05c48 (patch)
tree8f9fa37e9619acf738aa31afe4d6a555ad631fba /llvm/lib/ExecutionEngine
parent1caf0161f2fb3096722f3f6eac38cbf6bcacdb4f (diff)
downloadbcm5719-llvm-b7b78508a8066f781253a17d36cdfe387cc05c48.tar.gz
bcm5719-llvm-b7b78508a8066f781253a17d36cdfe387cc05c48.zip
Add accessor
llvm-svn: 18030
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-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