summaryrefslogtreecommitdiffstats
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
commit300504c1351e06994bda082980c799d99774c7cd (patch)
tree5f9e9b384c1959e30a813cc21f0ba3da4108e830
parent958d299fca3ff626c4174da0e52561c9a11a368b (diff)
downloadbcm5719-llvm-300504c1351e06994bda082980c799d99774c7cd.tar.gz
bcm5719-llvm-300504c1351e06994bda082980c799d99774c7cd.zip
EngineBuilder setter method for UseMCJIT was missing return value.
llvm-svn: 129008
-rw-r--r--llvm/include/llvm/ExecutionEngine/ExecutionEngine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
index 2889df715ed..ef5e9ec644f 100644
--- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud