mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove unnecessary conversions
Automated CL prepared by github.com/mdempsky/unconvert, except for reverting changes to ssa/rewritegeneric.go (generated file) and package big (vendored copy of math/big). Change-Id: I64dc4199f14077c7b6a2f334b12249d4a785eadd Reviewed-on: https://go-review.googlesource.com/20089 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
2aa2da295f
commit
def1e7276a
26 changed files with 158 additions and 158 deletions
|
|
@ -539,11 +539,11 @@ func compile(fn *Node) {
|
|||
allocauto(ptxt)
|
||||
|
||||
if false {
|
||||
fmt.Printf("allocauto: %d to %d\n", oldstksize, int64(Stksize))
|
||||
fmt.Printf("allocauto: %d to %d\n", oldstksize, Stksize)
|
||||
}
|
||||
|
||||
setlineno(Curfn)
|
||||
if int64(Stksize)+Maxarg > 1<<31 {
|
||||
if Stksize+Maxarg > 1<<31 {
|
||||
Yyerror("stack frame too large (>2GB)")
|
||||
goto ret
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue