Project

General

Profile

« Previous | Next » 

Revision bf987979

Added by etienne (Étienne Barrié) 10 months ago

Optimized instruction for Hash#freeze

If a Hash which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the instructions to be
opt_hash_freeze.

[Feature #20684]

Co-authored-by: Jean Boussier