Browse Source
all: use LLVM library provided by the system
pull/28/merge
Ayke van Laethem
6 years ago
No known key found for this signature in database
GPG Key ID: E97FF5335DFDFDED
4 changed files with
4 additions and
4 deletions
-
compiler/calls.go
-
compiler/compiler.go
-
ir/ir.go
-
main.go
|
|
@ -1,7 +1,7 @@ |
|
|
|
package compiler |
|
|
|
|
|
|
|
import ( |
|
|
|
"github.com/aykevl/llvm/bindings/go/llvm" |
|
|
|
"github.com/aykevl/go-llvm" |
|
|
|
"golang.org/x/tools/go/ssa" |
|
|
|
) |
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ import ( |
|
|
|
"strconv" |
|
|
|
"strings" |
|
|
|
|
|
|
|
"github.com/aykevl/llvm/bindings/go/llvm" |
|
|
|
"github.com/aykevl/go-llvm" |
|
|
|
"github.com/aykevl/tinygo/ir" |
|
|
|
"go/parser" |
|
|
|
"golang.org/x/tools/go/loader" |
|
|
|
|
|
@ -7,7 +7,7 @@ import ( |
|
|
|
"sort" |
|
|
|
"strings" |
|
|
|
|
|
|
|
"github.com/aykevl/llvm/bindings/go/llvm" |
|
|
|
"github.com/aykevl/go-llvm" |
|
|
|
"golang.org/x/tools/go/loader" |
|
|
|
"golang.org/x/tools/go/ssa" |
|
|
|
"golang.org/x/tools/go/ssa/ssautil" |
|
|
|
|
|
@ -11,7 +11,7 @@ import ( |
|
|
|
"path/filepath" |
|
|
|
"strings" |
|
|
|
|
|
|
|
"github.com/aykevl/llvm/bindings/go/llvm" |
|
|
|
"github.com/aykevl/go-llvm" |
|
|
|
"github.com/aykevl/tinygo/compiler" |
|
|
|
) |
|
|
|
|
|
|
|