-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
StringEncodingType
for String/PropNameId encoding in SynthTrace…
… Records Summary: Original Author: [email protected] Original Git: d8127f9 Original Reviewed By: dannysu Original Revision: D67303131 Adds an enum `StringEncodingType` to describe the encoding type of a String or PropNameID when it is created. `CreatePropNameIDRecord` already does something like this. CreateStringRecord` relies on a flag to indicate if it's ASCII or UTF-8, which makes it hard to add UTF-16 as well. Next diff in stack will add UTF-16 support. This diff is just a small refactor. Reviewed By: neildhar Differential Revision: D68599523 fbshipit-source-id: 11794e19c5a8b273a004c2da149935d7953c63b4
- Loading branch information
1 parent
a227066
commit c7abb36
Showing
3 changed files
with
40 additions
and
22 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