Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[DSLX:BC] Remove logic from bytecode emitter, consolidate on type information #1818

Merged

Conversation

cdleary
Copy link
Collaborator

@cdleary cdleary commented Dec 31, 2024

We already note in the type information what we deduced for the slice start/size as they must be constexpr. This change prevents duplication of logic which can be subtly off/different by keying off the type information data as much as possible.

Fixes #1784

@copybara-service copybara-service bot merged commit be6d8f4 into google:main Jan 2, 2025
6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bit-slice of negative size gives unhelpful error
2 participants