forked from ocaml-flambda/flambda-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flambda-backend: zero_alloc attribute payload "assert all" and "ignor…
…e" (ocaml-flambda#1296) * Support [@@@zero_alloc all] * Add [@zero_alloc ignore] * Update test output to match new attributes * Format * Add tests for new payloads of zero_alloc attributes * Ignore entry functions for the purpose of [@@@zero_alloc all] * Handle warning about unchecked attributes correctly for ignore * Add a comment * Using "assert" as payload is probably a bad idea * Improve tests * Fix comment * Don't accept synonyms of [@@@zero_alloc all] Mostly because using "assert" might be confusing (for human users and parser) with the language construct "assert <e>". This payload was removed from function attribute [@zero_alloc] in a previous commit.
- Loading branch information
Showing
7 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters