-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Remove `compiler/ast/endianness.h` because it has nothing to do with AST and only used in two places. Replace its uses with conditionally compiled calls to `__builtin_bswap64`. Another option is to move `endianness.h` outside of AST but it's probably an overkill considering that there are only two uses, three lines of code each. While at it fix UBs due to invalid type conversion. Reviewed By: Mizuchi Differential Revision: D30883166 fbshipit-source-id: 024b0c09454057b732a36baa024e1de77fc8535c
- Loading branch information
1 parent
b2345d5
commit 226d9d8
Showing
3 changed files
with
16 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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