all: rename go-llvm to new import path
the new import path is: tinygo.org/x/go-llvm
Этот коммит содержится в:
родитель
e6d90d89fa
коммит
9092dbcc53
19 изменённых файлов: 20 добавлений и 20 удалений
4
Gopkg.lock
сгенерированный
4
Gopkg.lock
сгенерированный
|
@ -4,7 +4,7 @@
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
digest = "1:747e7010f73dc26e5cb298444f6f1b4442ae155ab87e44080686b94a5f9d6c90"
|
digest = "1:747e7010f73dc26e5cb298444f6f1b4442ae155ab87e44080686b94a5f9d6c90"
|
||||||
name = "github.com/aykevl/go-llvm"
|
name = "tinygo.org/x/go-llvm"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
pruneopts = "UT"
|
pruneopts = "UT"
|
||||||
revision = "8a0a627130a54562f55b1c2a9d7b8019ff14d9f1"
|
revision = "8a0a627130a54562f55b1c2a9d7b8019ff14d9f1"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
input-imports = [
|
input-imports = [
|
||||||
"github.com/aykevl/go-llvm",
|
"tinygo.org/x/go-llvm",
|
||||||
"golang.org/x/tools/go/ssa",
|
"golang.org/x/tools/go/ssa",
|
||||||
]
|
]
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "github.com/aykevl/go-llvm"
|
name = "tinygo.org/x/go-llvm"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package compiler
|
package compiler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ package compiler
|
||||||
import (
|
import (
|
||||||
"go/types"
|
"go/types"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
"golang.org/x/tools/go/ssa"
|
"golang.org/x/tools/go/ssa"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"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"
|
||||||
|
|
|
@ -14,7 +14,7 @@ package compiler
|
||||||
// frames.
|
// frames.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -92,7 +92,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type asyncFunc struct {
|
type asyncFunc struct {
|
||||||
|
|
|
@ -49,7 +49,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// signatureInfo is a Go signature of an interface method. It does not represent
|
// signatureInfo is a Go signature of an interface method. It does not represent
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"go/token"
|
"go/token"
|
||||||
"go/types"
|
"go/types"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package compiler
|
package compiler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This file contains helper functions for LLVM that are not exposed in the Go
|
// This file contains helper functions for LLVM that are not exposed in the Go
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"go/token"
|
"go/token"
|
||||||
"go/types"
|
"go/types"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Compiler) emitMapLookup(keyType, valueType types.Type, m, key llvm.Value, commaOk bool, pos token.Pos) (llvm.Value, error) {
|
func (c *Compiler) emitMapLookup(keyType, valueType types.Type, m, key llvm.Value, commaOk bool, pos token.Pos) (llvm.Value, error) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package compiler
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Run the LLVM optimizer over the module.
|
// Run the LLVM optimizer over the module.
|
||||||
|
|
|
@ -3,7 +3,7 @@ package interp
|
||||||
// This file provides useful types for errors encountered during IR evaluation.
|
// This file provides useful types for errors encountered during IR evaluation.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Unsupported struct {
|
type Unsupported struct {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type frame struct {
|
type frame struct {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Eval struct {
|
type Eval struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package interp
|
package interp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type sideEffectSeverity int
|
type sideEffectSeverity int
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package interp
|
package interp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Return a list of values (actually, instructions) where this value is used as
|
// Return a list of values (actually, instructions) where this value is used as
|
||||||
|
|
|
@ -5,7 +5,7 @@ package interp
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"tinygo.org/x/go-llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Value is a LLVM value with some extra methods attached for easier
|
// A Value is a LLVM value with some extra methods attached for easier
|
||||||
|
|
2
ir/ir.go
2
ir/ir.go
|
@ -7,7 +7,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aykevl/go-llvm"
|
"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"
|
||||||
)
|
)
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче