all: go fmt
The import path changes changed the order of imports, but no `go fmt` was run before the commit. Oops...
Этот коммит содержится в:
родитель
19b4476cbb
коммит
1db9a162da
6 изменённых файлов: 6 добавлений и 6 удалений
|
@ -1,8 +1,8 @@
|
||||||
package compiler
|
package compiler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// For a description of the calling convention in prose, see:
|
// For a description of the calling convention in prose, see:
|
||||||
|
|
|
@ -6,8 +6,8 @@ package compiler
|
||||||
import (
|
import (
|
||||||
"go/types"
|
"go/types"
|
||||||
|
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// emitMakeChan returns a new channel value for the given channel type.
|
// emitMakeChan returns a new channel value for the given channel type.
|
||||||
|
|
|
@ -14,10 +14,10 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"github.com/aykevl/tinygo/ir"
|
"github.com/aykevl/tinygo/ir"
|
||||||
"github.com/aykevl/tinygo/loader"
|
"github.com/aykevl/tinygo/loader"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -14,9 +14,9 @@ package compiler
|
||||||
// frames.
|
// frames.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"github.com/aykevl/tinygo/ir"
|
"github.com/aykevl/tinygo/ir"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// deferInitFunc sets up this function for future deferred calls. It must be
|
// deferInitFunc sets up this function for future deferred calls. It must be
|
||||||
|
|
|
@ -9,9 +9,9 @@ import (
|
||||||
"go/token"
|
"go/token"
|
||||||
"go/types"
|
"go/types"
|
||||||
|
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"github.com/aykevl/tinygo/ir"
|
"github.com/aykevl/tinygo/ir"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// parseMakeInterface emits the LLVM IR for the *ssa.MakeInterface instruction.
|
// parseMakeInterface emits the LLVM IR for the *ssa.MakeInterface instruction.
|
||||||
|
|
2
ir/ir.go
2
ir/ir.go
|
@ -7,9 +7,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"tinygo.org/x/go-llvm"
|
|
||||||
"github.com/aykevl/tinygo/loader"
|
"github.com/aykevl/tinygo/loader"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This file provides a wrapper around go/ssa values and adds extra
|
// This file provides a wrapper around go/ssa values and adds extra
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче