diff --git a/src/cmd/gc/inl.c b/src/cmd/gc/inl.c index 6dda362e7e..1328010b8d 100644 --- a/src/cmd/gc/inl.c +++ b/src/cmd/gc/inl.c @@ -111,10 +111,8 @@ typecheckinl(Node *fn) lineno = lno; } -// Caninl determines whether fn is inlineable. Currently that means: -// fn is exactly 1 statement, either a return or an assignment, and -// some temporary constraints marked TODO. If fn is inlineable, saves -// fn->nbody in fn->inl and substitutes it with a copy. +// Caninl determines whether fn is inlineable. +// If so, caninl saves fn->nbody in fn->inl and substitutes it with a copy. void caninl(Node *fn) {