Bug 1229855: Fix miscompilation of uint8_t enum class with gcc4.8.2; r=luke

This commit is contained in:
Benjamin Bouvier 2015-12-14 15:46:45 +00:00
parent c3f328b7bb
commit 4582469571

View File

@ -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,