Skip to content

Commit e01d8b8

Browse files
committed
per golang/go#19348, mid-stack inlining is possible since go1.13
1 parent 86fee29 commit e01d8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CompilerOptimizations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Gc compiler does global escape analysis across function and package boundaries.
5757

5858
### Function Inlining
5959

60-
Only short and simple functions are inlined. To be inlined a function must contain less than ~40 expressions and does not contain complex things like function calls, loops, labels, closures, `panic`'s, `recover`'s, `select`'s, `switch`'es, etc.
60+
Only short and simple functions are inlined. To be inlined a function must contain less than ~40 expressions and does not contain complex things like loops, labels, closures, `panic`'s, `recover`'s, `select`'s, `switch`'es, etc.
6161

6262
* **gc:** 1.0+
6363
* **gccgo:** -O1 and above.

0 commit comments

Comments
 (0)