gingerBill 1 gadu atpakaļ
vecāks
revīzija
6588fe35b3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/llvm_abi.cpp

+ 1 - 1
src/llvm_abi.cpp

@@ -1343,7 +1343,7 @@ namespace lbAbiWasm {
 				// ignore padding
 				// ignore padding
 				LLVMStructGetTypeAtIndex(type, 2)
 				LLVMStructGetTypeAtIndex(type, 2)
 			};
 			};
-			LLVMTypeRef new_type = LLVMStructTypeInContext(c, types, gb_count_of(types), true);
+			LLVMTypeRef new_type = LLVMStructTypeInContext(c, types, gb_count_of(types), false);
 			return lb_arg_type_direct(type, new_type, nullptr, nullptr);
 			return lb_arg_type_direct(type, new_type, nullptr, nullptr);
 		} else {
 		} else {
 			return is_struct(c, type, calling_convention);
 			return is_struct(c, type, calling_convention);