Enable MCJIT
This commit is contained in:
parent
edab81ed7e
commit
5b2b878f24
1 changed files with 5 additions and 0 deletions
|
|
@ -167,6 +167,11 @@ class EngineBuilder(llvm.Wrapper):
|
|||
ptr = self._ptr.selectTarget()
|
||||
return TargetMachine(ptr)
|
||||
|
||||
def mcjit(self, enable):
|
||||
'''Enable/disable MCJIT
|
||||
'''
|
||||
self._ptr.setUseMCJIT(enable)
|
||||
return self
|
||||
|
||||
#===----------------------------------------------------------------------===
|
||||
# Execution engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue