mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 04:49:04 +00:00
all: go fmt
The import path changes changed the order of imports, but no `go fmt` was run before the commit. Oops...
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
+1
-1
@@ -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() {
|
||||||
|
|||||||
+1
-1
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user