summaryrefslogtreecommitdiff
path: root/bindings/go/llvm/executionengine_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/go/llvm/executionengine_test.go')
-rw-r--r--bindings/go/llvm/executionengine_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/go/llvm/executionengine_test.go b/bindings/go/llvm/executionengine_test.go
index 03fabc83c6f..2b6a3caff3d 100644
--- 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.SetMCJITEnableFastISel(true)
+ options.SetMCJITNoFramePointerElim(true)
+ options.SetMCJITCodeModel(CodeModelJITDefault)
engine, err := NewMCJITCompiler(mod, options)
if err != nil {
t.Errorf("Error creating JIT: %s", err)