Commit fcb31773 authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

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

--HG--
extra : source : c5d7d35dabeeb25454fca8368c528f9859283626
parent 36c18501
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,