Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.1
-
Component/s: Compilers: Optimizing
-
Labels:None
-
Number of attachments :
Description
When we create code from regular bytecodes we ensure it is canonical by running it through the simplifier. Magic code isn't run through the simplifier and as a result can be non-canonical, especially if generated in the LIR phase by inlining runtime services.
Fix in 33f0837b0caa4dc280d956d0721e1bf19e108745.
Related fix is e7b9fb45d5550493972d74fbdd512f9712e5521c that avoids object constants being on the left-hand of a canonical operation.