-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invert the "is inlined" bit of absl::Status
This change makes RepToPointer/PointerToRep have 0 instructions. This makes IsMovedFrom simpler (although this could always have left out the IsInlined check since that bit can never be set on the aligned pointer) In exchange, it makes CodeToInlinedRep slower, but does not inhibit replacing it with a constant. InlinedRepToCode is unaffected. PiperOrigin-RevId: 562826801 Change-Id: I2732f04ab293b773edc2efdec546b3a287b980c2
- Loading branch information
1 parent
461f1e4
commit 5c9f72f
Showing
2 changed files
with
17 additions
and
10 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