Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor sign-extension of signed c-call return values on x86-64: * Also sign extend short ints (fixes bug reported by Kevin Rosenberg on sbcl-devel, "FFI size error in sbcl-amd64"). * Move the sign-extension to a :naturalize-gen alien-type-method. * Remove signed-byte-32 ptype (used only for some sign-extension hacks, which have now been removed). * Add some tests.
- Loading branch information
Showing
4 changed files
with
42 additions
and
18 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