Browse Source

all: go fmt

The import path changes changed the order of imports, but no `go fmt`
was run before the commit. Oops...
pull/150/head
Ayke van Laethem 6 years ago
parent
commit
1db9a162da
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 2
      compiler/calls.go
  2. 2
      compiler/channel.go
  3. 2
      compiler/compiler.go
  4. 2
      compiler/defer.go
  5. 2
      compiler/interface.go
  6. 2
      ir/ir.go

2
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:

2
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.

2
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() {

2
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

2
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.

2
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

Loading…
Cancel
Save