Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve specializer and C99 output. #318

Merged
merged 12 commits into from
Dec 19, 2024
Merged

Improve specializer and C99 output. #318

merged 12 commits into from
Dec 19, 2024

Conversation

typeswitch-dev
Copy link
Contributor

@typeswitch-dev typeswitch-dev commented Dec 19, 2024

  • Improves the specializer so it can deduplicate specializations

  • Decouple specialization from inlining.

  • Inlined arrows are "codipped" properly during code generation, meaning they ignore extra things on the stack.

  • Detect panic-like functions by type signature, and track unreachable branches, to improve code generation.

Fixes issue #239

@typeswitch-dev typeswitch-dev enabled auto-merge (squash) December 19, 2024 17:12
@typeswitch-dev typeswitch-dev merged commit ef5f46e into main Dec 19, 2024
7 checks passed
@typeswitch-dev typeswitch-dev deleted the c99-output-tuning branch December 19, 2024 20:49
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.

1 participant