We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@noinline
1 parent 9cafd35 commit 14b8ff6Copy full SHA for 14b8ff6
base/expr.jl
@@ -256,6 +256,14 @@ Give a hint to the compiler that calls within `block` are worth inlining.
256
end
257
```
258
259
+!!! note
260
+ The callsite annotation applies to all calls in the block, including function arguments
261
+ that are themselves calls:
262
+ ```julia
263
+ # The compiler will not inline `getproperty`, `g` or `f`
264
+ @noinline f(x.inner, g(y))
265
+ ```
266
+
267
!!! note
268
When there are nested callsite annotations, the innermost annotation has the precedence:
269
```julia
0 commit comments