projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bindings for the rest of the MCJIT options that we previously
[oota-llvm.git]
/
bindings
/
go
/
llvm
/
executionengine_test.go
diff --git
a/bindings/go/llvm/executionengine_test.go
b/bindings/go/llvm/executionengine_test.go
index 03fabc83c6ff49a16cfbdbe1de39436d5c9e375d..2b6a3caff3df45082394f22bb2e394c9f659647b 100644
(file)
--- a/
bindings/go/llvm/executionengine_test.go
+++ b/
bindings/go/llvm/executionengine_test.go
@@
-68,6
+68,9
@@
func TestFactorial(t *testing.T) {
options := NewMCJITCompilerOptions()
options.SetMCJITOptimizationLevel(2)
options := NewMCJITCompilerOptions()
options.SetMCJITOptimizationLevel(2)
+ options.SetMCJITEnableFastISel(true)
+ options.SetMCJITNoFramePointerElim(true)
+ options.SetMCJITCodeModel(CodeModelJITDefault)
engine, err := NewMCJITCompiler(mod, options)
if err != nil {
t.Errorf("Error creating JIT: %s", err)
engine, err := NewMCJITCompiler(mod, options)
if err != nil {
t.Errorf("Error creating JIT: %s", err)