aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/5g/gg.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/5g/gg.go')
-rw-r--r--src/cmd/5g/gg.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/cmd/5g/gg.go b/src/cmd/5g/gg.go
new file mode 100644
index 0000000000..7a7fb3b774
--- /dev/null
+++ b/src/cmd/5g/gg.go
@@ -0,0 +1,32 @@
+// 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 main
+
+import "cmd/internal/obj/arm"
+
+// 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.
+
+const (
+ REGALLOC_R0 = arm.REG_R0
+ REGALLOC_RMAX = arm.REGEXT
+ REGALLOC_F0 = arm.REG_F0
+ REGALLOC_FMAX = arm.FREGEXT
+)
+
+var reg [REGALLOC_FMAX + 1]uint8
+
+/*
+ * cgen
+ */
+
+/*
+ * list.c
+ */
+
+/*
+ * reg.c
+ */