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.
1 parent a40a9d2 commit 10a1ba8Copy full SHA for 10a1ba8
compiler/lib/inline.ml
@@ -326,7 +326,9 @@ let interesting_parameters ~context info =
326
code elimination, ...
327
*)
328
let functor_like ~context info =
329
- (context.aggressive || body_size ~context info <= 15)
+ (match Config.target () with
330
+ | `Wasm when context.aggressive -> true
331
+ | _ -> body_size ~context info <= 15)
332
&& (not info.recursive)
333
&& (not (contains_loop ~context info))
334
&& returns_a_block ~context info
0 commit comments