prefer-inline
pragmas are not sufficient to do the inlining we want
#59685
Labels
area-dart2wasm
Issues for the dart2wasm compiler.
type-performance
Issue relates to performance or code size
Ideally we want all direct calls to
Int64List.[]
to be inlined:sdk/sdk/lib/_internal/wasm/lib/typed_data.dart
Lines 3054 to 3059 in e87c93b
But when a call becomes direct after wasm-opt, because we can't control wasm-opt's inliner with a similar pragma, it's not inlined. Relevant parts of the output of the code above:
Becuase
[]
is not inlined, each access to the array boxes the integer in the array before returning.The text was updated successfully, but these errors were encountered: