[llvm] 65e64f6 - [WebAssembly] Fix test failure after 0a6c4d8d2eb
    Sam Clegg via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Apr 30 14:27:19 PDT 2020
    
    
  
Author: Sam Clegg
Date: 2020-04-30T14:27:08-07:00
New Revision: 65e64f6d652f0e7e3f35c0d8dd08cf7e2b943c9b
URL: https://github.com/llvm/llvm-project/commit/65e64f6d652f0e7e3f35c0d8dd08cf7e2b943c9b
DIFF: https://github.com/llvm/llvm-project/commit/65e64f6d652f0e7e3f35c0d8dd08cf7e2b943c9b.diff
LOG: [WebAssembly] Fix test failure after 0a6c4d8d2eb
Reverting part of https://reviews.llvm.org/D79137 which caused an
failure in an ObjectYAML test.
Added: 
    
Modified: 
    llvm/include/llvm/BinaryFormat/Wasm.h
Removed: 
    
################################################################################
diff  --git a/llvm/include/llvm/BinaryFormat/Wasm.h b/llvm/include/llvm/BinaryFormat/Wasm.h
index 7bc35317d618..21c5bac2c500 100644
--- a/llvm/include/llvm/BinaryFormat/Wasm.h
+++ b/llvm/include/llvm/BinaryFormat/Wasm.h
@@ -75,8 +75,8 @@ struct WasmTable {
 struct WasmInitExpr {
   uint8_t Opcode;
   union {
-    uint32_t Int32;
-    uint64_t Int64;
+    int32_t Int32;
+    int64_t Int64;
     uint32_t Float32;
     uint64_t Float64;
     uint32_t Global;
        
    
    
More information about the llvm-commits
mailing list