Skip to content

native: fix inc and improve support for i32#23753

Merged
spytheman merged 6 commits into
vlang:masterfrom
Eliyaan:fix-inc-and-i32
Feb 17, 2025
Merged

native: fix inc and improve support for i32#23753
spytheman merged 6 commits into
vlang:masterfrom
Eliyaan:fix-inc-and-i32

Conversation

@Eliyaan

@Eliyaan Eliyaan commented Feb 17, 2025

Copy link
Copy Markdown
Member

Replace the inc implementation by the INC instruction (previously ADD 1) and make it adapt depending on var size.
Add i32 in matches and add right size for i32 in get_type_size.
Add tests.

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-22168

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work 🚀 .

@spytheman spytheman merged commit dbc96b2 into vlang:master Feb 17, 2025
@Eliyaan Eliyaan deleted the fix-inc-and-i32 branch February 17, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants