summaryrefslogtreecommitdiffstats
path: root/llgo/irgen/compiler.go
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-04-05 23:28:18 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-04-05 23:28:18 +0000
commit7d39641c805bf3263ffb55a23ecf4bbfd37402c0 (patch)
tree1cf0efe596d5727fbeb631273a000de81f454e23 /llgo/irgen/compiler.go
parent907628d24dfbaa59674f9130ed02e3fe90a9c4df (diff)
downloadbcm5719-llvm-7d39641c805bf3263ffb55a23ecf4bbfd37402c0.tar.gz
bcm5719-llvm-7d39641c805bf3263ffb55a23ecf4bbfd37402c0.zip
Roll gotools to d4e70101.
Most importantly, this gives us https://go-review.googlesource.com/7533 which fixes a bug in go/ssa that caused test failures in the Go 1.4 standard library. Also remove the go1.4 tag workaround. We no longer need it now that we ship llgo-go. Differential Revision: http://reviews.llvm.org/D8827 llvm-svn: 234133
Diffstat (limited to 'llgo/irgen/compiler.go')
-rw-r--r--llgo/irgen/compiler.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/llgo/irgen/compiler.go b/llgo/irgen/compiler.go
index 16769216a0f..830c1bd57ce 100644
--- a/llgo/irgen/compiler.go
+++ b/llgo/irgen/compiler.go
@@ -216,8 +216,9 @@ func (compiler *compiler) compile(fset *token.FileSet, astFiles []*ast.File, imp
Sizes: compiler.llvmtypes,
DisableUnusedImportCheck: compiler.DisableUnusedImportCheck,
},
- Build: &buildctx.Context,
- PackageCreated: compiler.PackageCreated,
+ ImportFromBinary: true,
+ Build: &buildctx.Context,
+ PackageCreated: compiler.PackageCreated,
}
// If no import path is specified, then set the import
// path to be the same as the package's name.
OpenPOWER on IntegriCloud