aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-01-31 16:20:38 +0100
committerAyke van Laethem <[email protected]>2019-01-31 16:22:05 +0100
commit1db9a162da6c53709e7b6c53e855d57afa4efbaf (patch)
treeabafaaf4c9d39460ae74edf1668470ccbb93bb10
parent19b4476cbbdb5fd43491ea11a94df12c4507e2a0 (diff)
downloadtinygo-1db9a162da6c53709e7b6c53e855d57afa4efbaf.tar.gz
tinygo-1db9a162da6c53709e7b6c53e855d57afa4efbaf.zip
all: go fmt
The import path changes changed the order of imports, but no `go fmt` was run before the commit. Oops...
-rw-r--r--compiler/calls.go2
-rw-r--r--compiler/channel.go2
-rw-r--r--compiler/compiler.go2
-rw-r--r--compiler/defer.go2
-rw-r--r--compiler/interface.go2
-rw-r--r--ir/ir.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/compiler/calls.go b/compiler/calls.go
index 0fefdece3..2ac293ba1 100644
--- a/compiler/calls.go
+++ b/compiler/calls.go
@@ -1,8 +1,8 @@
package compiler
import (
- "tinygo.org/x/go-llvm"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
// For a description of the calling convention in prose, see:
diff --git a/compiler/channel.go b/compiler/channel.go
index 648bef200..05973ecbf 100644
--- a/compiler/channel.go
+++ b/compiler/channel.go
@@ -6,8 +6,8 @@ package compiler
import (
"go/types"
- "tinygo.org/x/go-llvm"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
// emitMakeChan returns a new channel value for the given channel type.
diff --git a/compiler/compiler.go b/compiler/compiler.go
index 4d6e0db66..739c4dc59 100644
--- a/compiler/compiler.go
+++ b/compiler/compiler.go
@@ -14,10 +14,10 @@ import (
"strconv"
"strings"
- "tinygo.org/x/go-llvm"
"github.com/aykevl/tinygo/ir"
"github.com/aykevl/tinygo/loader"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
func init() {
diff --git a/compiler/defer.go b/compiler/defer.go
index 6113fdc50..b48ae36cb 100644
--- a/compiler/defer.go
+++ b/compiler/defer.go
@@ -14,9 +14,9 @@ package compiler
// frames.
import (
- "tinygo.org/x/go-llvm"
"github.com/aykevl/tinygo/ir"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
// deferInitFunc sets up this function for future deferred calls. It must be
diff --git a/compiler/interface.go b/compiler/interface.go
index 3fa56c04c..9b259da41 100644
--- a/compiler/interface.go
+++ b/compiler/interface.go
@@ -9,9 +9,9 @@ import (
"go/token"
"go/types"
- "tinygo.org/x/go-llvm"
"github.com/aykevl/tinygo/ir"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
// parseMakeInterface emits the LLVM IR for the *ssa.MakeInterface instruction.
diff --git a/ir/ir.go b/ir/ir.go
index 138b5051c..efd0298cc 100644
--- a/ir/ir.go
+++ b/ir/ir.go
@@ -7,9 +7,9 @@ import (
"sort"
"strings"
- "tinygo.org/x/go-llvm"
"github.com/aykevl/tinygo/loader"
"golang.org/x/tools/go/ssa"
+ "tinygo.org/x/go-llvm"
)
// This file provides a wrapper around go/ssa values and adds extra