EngineBuilder setter method for UseMCJIT was missing return value.
authorJim Grosbach <grosbach@apple.com>
Wed, 6 Apr 2011 16:35:19 +0000 (16:35 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 6 Apr 2011 16:35:19 +0000 (16:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129008 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/ExecutionEngine.h

index 2889df715ed70be863559be10e81d4a3c17d1e6e..ef5e9ec644f15a5ff8b4305705c95173d5fd2970 100644 (file)
@@ -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.