[llvm] r320947 - use uint32_t

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 17 09:50:07 PST 2017


Author: sbc
Date: Sun Dec 17 09:50:07 2017
New Revision: 320947

URL: http://llvm.org/viewvc/llvm-project?rev=320947&view=rev
Log:
use uint32_t

Modified:
    llvm/trunk/include/llvm/BinaryFormat/Wasm.h

Modified: llvm/trunk/include/llvm/BinaryFormat/Wasm.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/Wasm.h?rev=320947&r1=320946&r2=320947&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/Wasm.h (original)
+++ llvm/trunk/include/llvm/BinaryFormat/Wasm.h Sun Dec 17 09:50:07 2017
@@ -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 {




More information about the llvm-commits mailing list