update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package build
|
||||
|
||||
import "github.com/mmcloughlin/avo/attr"
|
||||
import "sources.truenas.cloud/code/avo/attr"
|
||||
|
||||
// TEXT and DATA attribute values included for convenience.
|
||||
const (
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"os"
|
||||
"runtime/pprof"
|
||||
|
||||
"github.com/mmcloughlin/avo/pass"
|
||||
"github.com/mmcloughlin/avo/printer"
|
||||
"sources.truenas.cloud/code/avo/pass"
|
||||
"sources.truenas.cloud/code/avo/printer"
|
||||
)
|
||||
|
||||
// Config contains options for an avo main function.
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
|
||||
"golang.org/x/tools/go/packages"
|
||||
|
||||
"github.com/mmcloughlin/avo/attr"
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/gotypes"
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"github.com/mmcloughlin/avo/reg"
|
||||
"sources.truenas.cloud/code/avo/attr"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/gotypes"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/reg"
|
||||
)
|
||||
|
||||
//go:generate avogen -output zinstructions.go build
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/mmcloughlin/avo/internal/stack"
|
||||
"github.com/mmcloughlin/avo/src"
|
||||
"sources.truenas.cloud/code/avo/internal/stack"
|
||||
"sources.truenas.cloud/code/avo/src"
|
||||
)
|
||||
|
||||
// Error represents an error during building, optionally tagged with the position at which it happened.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/mmcloughlin/avo/src"
|
||||
"sources.truenas.cloud/code/avo/src"
|
||||
)
|
||||
|
||||
func TestLogErrorNil(t *testing.T) {
|
||||
|
||||
@@ -4,12 +4,12 @@ import (
|
||||
"flag"
|
||||
"os"
|
||||
|
||||
"github.com/mmcloughlin/avo/attr"
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/gotypes"
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"github.com/mmcloughlin/avo/reg"
|
||||
"sources.truenas.cloud/code/avo/attr"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/gotypes"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/reg"
|
||||
)
|
||||
|
||||
// ctx provides a global build context.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package build
|
||||
|
||||
import (
|
||||
"github.com/mmcloughlin/avo/attr"
|
||||
"github.com/mmcloughlin/avo/gotypes"
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"github.com/mmcloughlin/avo/reg"
|
||||
"sources.truenas.cloud/code/avo/attr"
|
||||
"sources.truenas.cloud/code/avo/gotypes"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/reg"
|
||||
)
|
||||
|
||||
//go:generate avogen -output zmov.go mov
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
package build
|
||||
|
||||
import (
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"github.com/mmcloughlin/avo/x86"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/x86"
|
||||
)
|
||||
|
||||
func (c *Context) addinstruction(i *ir.Instruction, err error) {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"math"
|
||||
"testing"
|
||||
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"github.com/mmcloughlin/avo/reg"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/reg"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -5,7 +5,7 @@ package build
|
||||
import (
|
||||
"go/types"
|
||||
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
)
|
||||
|
||||
func (c *Context) mov(a, b operand.Op, an, bn int, t *types.Basic) {
|
||||
|
||||
Reference in New Issue
Block a user