diff options
author | Russ Cox <rsc@golang.org> | 2009-04-02 16:48:06 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-04-02 16:48:06 -0700 |
commit | 06ec22f59e2b6a9adb3e593816a8e8d921e49d60 (patch) | |
tree | 88b49c593f40379ac8534850835e8348e6fb821d /src/cmd/8g/gg.h | |
parent | e35ac0f6d2a50dd4ea44003b0a2b1dc64620f51c (diff) | |
download | go-06ec22f59e2b6a9adb3e593816a8e8d921e49d60.tar.gz |
implement some more 8g
package main
func main() {
println("hello,", 123);
}
R=ken
OCL=27043
CL=27043
Diffstat (limited to 'src/cmd/8g/gg.h')
-rw-r--r-- | src/cmd/8g/gg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/8g/gg.h b/src/cmd/8g/gg.h index 7ad143e59..c7be24dec 100644 --- a/src/cmd/8g/gg.h +++ b/src/cmd/8g/gg.h @@ -57,6 +57,7 @@ EXTERN Node* deferproc; EXTERN Node* deferreturn; EXTERN Node* throwindex; EXTERN Node* throwreturn; +EXTERN int maxstksize; /* * gen.c @@ -93,6 +94,8 @@ Prog* gins(int, Node*, Node*); int samaddr(Node*, Node*); void naddr(Node*, Addr*); void cgen_aret(Node*, Node*); +int cgen64(Node*, Node*); +int is64(Type*); /* * gsubr.c @@ -114,6 +117,8 @@ void ginit(void); void gclean(void); void regalloc(Node*, Type*, Node*); void regfree(Node*); +void tempalloc(Node*, Type*); +void tempfree(Node*); Node* nodarg(Type*, int); void nodreg(Node*, Type*, int); void nodindreg(Node*, Type*, int); |