Optimized instruction for Array#freeze
If an Array which is empty or only using literals is frozen, we detect this as a peephole optimization and change the instructions to be opt_ary_freeze.
opt_ary_freeze
[Feature #20684]
Co-authored-by: Jean Boussier [email protected]
Optimized instruction for Array#freeze
If an Array which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the instructions to be
opt_ary_freeze
.[Feature #20684]
Co-authored-by: Jean Boussier [email protected]