You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fold negative number literals at HIR level: -14.2 now lowers directly to Number(-14.2) instead of Unary(Neg, Number(14.2)). This eliminates unnecessary fneg instructions in compiled output, particularly beneficial for large array literals with negative values (e.g., LAB color databases). Also ensures negative numbers are correctly recognized by is_number_element in array type inference.
Bug Fixes (v0.4.17 verification)
Verified that the v0.4.17 heap allocation fix for large arrays IS working correctly — compiled 200-element arrays with negative numbers produce NO large stack frames on either x86_64 or aarch64 (iOS) targets. The count > 128 threshold correctly triggers direct heap allocation via js_array_alloc_with_length.