mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1229855: Fix miscompilation of uint8_t enum class with gcc4.8.2; r=luke
This commit is contained in:
parent
09baace7c6
commit
d3e0575e2e
@ -34,7 +34,9 @@ using mozilla::Move;
|
||||
// The ValType enum represents the WebAssembly "value type", which are used to
|
||||
// specify the type of locals and parameters.
|
||||
|
||||
enum class ValType : uint8_t
|
||||
// FIXME: uint8_t would make more sense for the underlying storage class, but
|
||||
// causes miscompilations in GCC (fixed in 4.8.5 and 4.9.3).
|
||||
enum class ValType
|
||||
{
|
||||
I32,
|
||||
I64,
|
||||
|
Loading…
Reference in New Issue
Block a user