Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
x[lo:] - gc and runtime.
Browse files Browse the repository at this point in the history
  * add runtime sliceslice1 for x[lo:]
  * remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)].
  * port cgen_inline into 8g, 5g.
  * use native memmove in maps

R=ken2
https://golang.org/cl/157106
  • Loading branch information
rsc committed Nov 20, 2009
1 parent 688ffc1 commit 652f556
Show file tree
Hide file tree
Showing 17 changed files with 903 additions and 145 deletions.
2 changes: 2 additions & 0 deletions src/cmd/5g/gg.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ EXTERN Node* newproc;
EXTERN Node* deferproc;
EXTERN Node* deferreturn;
EXTERN Node* throwindex;
EXTERN Node* throwslice;
EXTERN Node* throwreturn;
EXTERN long unmappedzero;
EXTERN int maxstksize;
Expand All @@ -78,6 +79,7 @@ void cgen_callinter(Node*, Node*, int);
void cgen_proc(Node*, int);
void cgen_callret(Node*, Node*);
void cgen_dcl(Node*);
int cgen_inline(Node*, Node*);
int needconvert(Type*, Type*);
void genconv(Type*, Type*);
void allocparams(void);
Expand Down
Loading

0 comments on commit 652f556

Please sign in to comment.