Actions
Misc #20814
closediseq optimizations on constant condition
Misc #20814:
iseq optimizations on constant condition
Status:
Feedback
Assignee:
-
Description
ruby 3.4-preview2 seems optimizes out some stuff when building iseq and this may lead to user unexpected behavior when debugging, because some lines just optimized out.
Example:
produces:
Two questions:
- is there way to disable such optimizations?
- are there some specs on things that can be optimized.
Actions