summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-04-06 16:35:19 +0000
committerJim Grosbach <grosbach@apple.com>2011-04-06 16:35:19 +0000
commit714b34fc24d5df02aff01bd64eb80e5945d663ac (patch)
treeb624d6b0df300f732e617370031c6df4385b9bbb /include/llvm/ExecutionEngine
parent0fa5da97539e1702f8a41862a9c5eacb52adaaa7 (diff)
downloadllvm-714b34fc24d5df02aff01bd64eb80e5945d663ac.tar.gz
llvm-714b34fc24d5df02aff01bd64eb80e5945d663ac.tar.bz2
llvm-714b34fc24d5df02aff01bd64eb80e5945d663ac.tar.xz
EngineBuilder setter method for UseMCJIT was missing return value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h
index 2889df715e..ef5e9ec644 100644
--- a/include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/include/llvm/ExecutionEngine/ExecutionEngine.h
@@ -556,8 +556,9 @@ public:
/// setUseMCJIT - Set whether the MC-JIT implementation should be used
/// (experimental).
- void setUseMCJIT(bool Value) {
+ EngineBuilder &setUseMCJIT(bool Value) {
UseMCJIT = Value;
+ return *this;
}
/// setMAttrs - Set cpu-specific attributes.