Removes uint8_t from MachineRepresentation and MachineSemantic enums.
This works around a compiler bug that leads to incorrect masking of the semantic_ field in TruncatingUseInfoFromRepresentation. Patch from bulach@google.com BUG= Review-Url: https://codereview.chromium.org/2669113003 Cr-Commit-Position: refs/heads/master@{#42925}
This commit is contained in:
parent
e82880b65d
commit
8c7fc377fd
@ -15,7 +15,7 @@
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
||||
enum class MachineRepresentation : uint8_t {
|
||||
enum class MachineRepresentation {
|
||||
kNone,
|
||||
kBit,
|
||||
kWord8,
|
||||
@ -39,7 +39,7 @@ static_assert(static_cast<int>(MachineRepresentation::kLastRepresentation) <
|
||||
|
||||
const char* MachineReprToString(MachineRepresentation);
|
||||
|
||||
enum class MachineSemantic : uint8_t {
|
||||
enum class MachineSemantic {
|
||||
kNone,
|
||||
kBool,
|
||||
kInt32,
|
||||
|
Loading…
Reference in New Issue
Block a user