OSDN Git Service

use uint32_t
authorSam Clegg <sbc@chromium.org>
Sun, 17 Dec 2017 17:50:07 +0000 (17:50 +0000)
committerSam Clegg <sbc@chromium.org>
Sun, 17 Dec 2017 17:50:07 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320947 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/BinaryFormat/Wasm.h

index 4884700..506cd03 100644 (file)
@@ -91,8 +91,8 @@ struct WasmLocalDecl {
 struct WasmFunction {
   std::vector<WasmLocalDecl> Locals;
   ArrayRef<uint8_t> Body;
-  size_t CodeSectionOffset;
-  size_t Size;
+  uint32_t CodeSectionOffset;
+  uint32_t Size;
 };
 
 struct WasmDataSegment {