[llvm-commits] [llvm] r129008 - /llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h
Jim Grosbach
grosbach at apple.com
Wed Apr 6 09:35:19 PDT 2011
Author: grosbach
Date: Wed Apr 6 11:35:19 2011
New Revision: 129008
URL: http://llvm.org/viewvc/llvm-project?rev=129008&view=rev
Log:
EngineBuilder setter method for UseMCJIT was missing return value.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h?rev=129008&r1=129007&r2=129008&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/ExecutionEngine.h Wed Apr 6 11:35:19 2011
@@ -556,8 +556,9 @@
/// 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.
More information about the llvm-commits
mailing list