-
Notifications
You must be signed in to change notification settings - Fork 56
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
Failure in regalloc throws internal compilation error for subroutines #426
Comments
Thanks for the report. Here is a variant:
|
I don’t understand why you write that the failure is expected. |
I meant that I'd liked to get the behavior we have if it were an export function. If we remove local functions that are not called then yes, I would expect no error and an empty program. |
What if it’s a local function that does get called? |
I see now, you're right. This should compile. We don't need to respect the calling convention for local functions. |
The following code
fails with
But if we set it as
export
, it fails correctly.The text was updated successfully, but these errors were encountered: