diff options
author | Sam Clegg <sbc@chromium.org> | 2018-03-01 18:48:08 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-03-01 18:48:08 +0000 |
commit | 503fdea3cbf839c2ff9e90ef380030c1952f59e9 (patch) | |
tree | 83aa9b7c12a2e731d4203614884961e791cac0d9 /llvm/include/llvm/BinaryFormat/Wasm.h | |
parent | dde3a9170ce73e13697ccab11061f3f71c72eebd (diff) | |
download | bcm5719-llvm-503fdea3cbf839c2ff9e90ef380030c1952f59e9.tar.gz bcm5719-llvm-503fdea3cbf839c2ff9e90ef380030c1952f59e9.zip |
[WebAssembly] Fix broken gcc build after rL326454
The gcc builders were broken by rL326454
See: https://reviews.llvm.org/D43921
llvm-svn: 326460
Diffstat (limited to 'llvm/include/llvm/BinaryFormat/Wasm.h')
-rw-r--r-- | llvm/include/llvm/BinaryFormat/Wasm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Wasm.h b/llvm/include/llvm/BinaryFormat/Wasm.h index d5d5fb3c30e..b35ad7253bb 100644 --- a/llvm/include/llvm/BinaryFormat/Wasm.h +++ b/llvm/include/llvm/BinaryFormat/Wasm.h @@ -178,7 +178,7 @@ enum : unsigned { }; // Type immediate encodings used in various contexts. -enum : uint8_t { +enum : unsigned { WASM_TYPE_I32 = 0x7F, WASM_TYPE_I64 = 0x7E, WASM_TYPE_F32 = 0x7D, @@ -189,7 +189,7 @@ enum : uint8_t { }; // Kinds of externals (for imports and exports). -enum : uint8_t { +enum : unsigned { WASM_EXTERNAL_FUNCTION = 0x0, WASM_EXTERNAL_TABLE = 0x1, WASM_EXTERNAL_MEMORY = 0x2, @@ -239,7 +239,7 @@ enum : unsigned { }; // Kind codes used in the custom "linking" section in the WASM_SYMBOL_TABLE -enum WasmSymbolType : uint8_t { +enum WasmSymbolType : unsigned { WASM_SYMBOL_TYPE_FUNCTION = 0x0, WASM_SYMBOL_TYPE_DATA = 0x1, WASM_SYMBOL_TYPE_GLOBAL = 0x2, @@ -257,7 +257,7 @@ const unsigned WASM_SYMBOL_UNDEFINED = 0x10; #define WASM_RELOC(name, value) name = value, -enum : uint8_t { +enum : unsigned { #include "WasmRelocs.def" }; |