projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make SetMCJITOptimizationLevel more of a method and pass options
[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
2d5ca72
..
03fabc8
100644
(file)
--- a/
bindings/go/llvm/executionengine_test.go
+++ b/
bindings/go/llvm/executionengine_test.go
@@
-67,7
+67,7
@@
func TestFactorial(t *testing.T) {
}
options := NewMCJITCompilerOptions()
-
SetMCJITOptimizationLevel(options,
2)
+
options.SetMCJITOptimizationLevel(
2)
engine, err := NewMCJITCompiler(mod, options)
if err != nil {
t.Errorf("Error creating JIT: %s", err)