[dev.ssa] cmd/compile: Move runtime call gen to its own function

Change-Id: I5de36244de4dcc4a9827ee0fa04526e3e3578e7f
Reviewed-on: https://go-review.googlesource.com/14755
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Keith Randall 2015-09-18 15:11:30 -07:00
parent d29e92be52
commit 8c5bfcc52b
3 changed files with 80 additions and 49 deletions

View file

@ -338,6 +338,9 @@ func compile(fn *Node) {
Panicindex = Sysfunc("panicindex")
panicslice = Sysfunc("panicslice")
throwreturn = Sysfunc("throwreturn")
growslice = Sysfunc("growslice")
typedmemmove_nostore = Sysfunc("typedmemmove_nostore")
panicdottype = Sysfunc("panicdottype")
}
lno := setlineno(fn)