[dev.cc] cmd/internal/gc, cmd/new6g etc: convert from cmd/gc, cmd/6g etc

First draft of converted Go compiler, using rsc.io/c2go rev 83d795a.

Change-Id: I29f4c7010de07d2ff1947bbca9865879d83c32c3
Reviewed-on: https://go-review.googlesource.com/4851
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
Russ Cox 2015-02-13 14:40:36 -05:00
parent c11882bc3e
commit 8c195bdf12
119 changed files with 88449 additions and 254 deletions

View file

@ -241,6 +241,8 @@ type Plist struct {
type LinkArch struct {
Pconv func(*Prog) string
Dconv func(*Prog, int, *Addr) string
Rconv func(int) string
ByteOrder binary.ByteOrder
Name string
Thechar int
@ -278,14 +280,14 @@ type Pcdata struct {
}
type Pciter struct {
d Pcdata
p []byte
pc uint32
nextpc uint32
pcscale uint32
value int32
start int
done int
D Pcdata
P []byte
Pc uint32
Nextpc uint32
Pcscale uint32
Value int32
Start int
Done int
}
// An Addr is an argument to an instruction.