Commit 8c7fc377 authored by ulan's avatar ulan Committed by Commit bot

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}
parent e82880b6
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment