Commit(s) to merge
c7834b6
Target
stable
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/368644
Issue Description
Certain large apps can result in dart2wasm emitting an array.new_fixed instruction with more than 10000 elements, which causes a runtime error when running in browsers.
What is the fix
Avoid using array.new_fixed if the array is larger than 10000
Why cherry-pick
Users are hitting this on stable channel.
Risk
Low
Issue link(s)
#55396, #55872
Extra Info
No response
Commit(s) to merge
c7834b6
Target
stable
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/368644
Issue Description
Certain large apps can result in dart2wasm emitting an
array.new_fixedinstruction with more than 10000 elements, which causes a runtime error when running in browsers.What is the fix
Avoid using
array.new_fixedif the array is larger than 10000Why cherry-pick
Users are hitting this on stable channel.
Risk
Low
Issue link(s)
#55396, #55872
Extra Info
No response