aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ir/ir.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/ir/ir.go')
-rw-r--r--src/cmd/compile/internal/ir/ir.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ir/ir.go b/src/cmd/compile/internal/ir/ir.go
new file mode 100644
index 0000000000..ad7f692b07
--- /dev/null
+++ b/src/cmd/compile/internal/ir/ir.go
@@ -0,0 +1,12 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package ir
+
+import "cmd/compile/internal/types"
+
+var LocalPkg *types.Pkg // package being compiled
+
+// builtinpkg is a fake package that declares the universe block.
+var BuiltinPkg *types.Pkg