]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: Budget for inlining is now 80 nodes, not 40
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 15 Apr 2017 23:10:19 +0000 (00:10 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 15 Apr 2017 23:21:22 +0000 (23:21 +0000)
This comment was out of date since the bump to 80 done as the same time
as inlining transitive functions in:

  commit 77ccb16eb12f461eaea5fdf652a2e929dc154192
  Author: Russ Cox <rsc@golang.org>
  Date:   Tue Feb 24 12:19:01 2015 -0500

      cmd/internal/gc: transitive inlining

Adjust the comment at the top of the file accordingly.

Change-Id: Ia6d7397c874e3b85396e82dc9678e56aab9ad728
Reviewed-on: https://go-review.googlesource.com/40910
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/inl.go

index e5377ed471e338d618b12d0c151491282a4d7b1e..3ecca14f10cfcd6312454ef344a6a4202c9bcdaf 100644 (file)
@@ -11,7 +11,7 @@
 // making 1 the default and -l disable.  -ll and more is useful to flush out bugs.
 // These additional levels (beyond -l) may be buggy and are not supported.
 //      0: disabled
-//      1: 40-nodes leaf functions, oneliners, lazy typechecking (default)
+//      1: 80-nodes leaf functions, oneliners, lazy typechecking (default)
 //      2: early typechecking of all imported bodies
 //      3: allow variadic functions
 //      4: allow non-leaf functions , (breaks runtime.Caller)