aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/compiler.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/compiler.go')
-rw-r--r--compiler/compiler.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/compiler.go b/compiler/compiler.go
index cb3a892a8..2ff1ebe26 100644
--- a/compiler/compiler.go
+++ b/compiler/compiler.go
@@ -281,9 +281,6 @@ func CompilePackage(moduleName string, pkg *loader.Package, ssaPkg *ssa.Package,
c.runtimePkg = ssaPkg.Prog.ImportedPackage("runtime").Pkg
c.program = ssaPkg.Prog
- // Convert AST to SSA.
- ssaPkg.Build()
-
// Initialize debug information.
if c.Debug {
c.cu = c.dibuilder.CreateCompileUnit(llvm.DICompileUnit{