Add bindings for the rest of the MCJIT options that we previously
[oota-llvm.git] / bindings / go / llvm / executionengine_test.go
index 03fabc83c6ff49a16cfbdbe1de39436d5c9e375d..2b6a3caff3df45082394f22bb2e394c9f659647b 100644 (file)
@@ -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)