| ... | @@ -1988,7 +1988,7 @@ static ZigType *analyze_fn_type(CodeGen *g, AstNode *proto_node, Scope *child_sc | ... | @@ -1988,7 +1988,7 @@ static ZigType *analyze_fn_type(CodeGen *g, AstNode *proto_node, Scope *child_sc |
| 1988 | // behaviour when checking expected alignment with `@ptrToInt(fn_ptr)` | 1988 | // behaviour when checking expected alignment with `@ptrToInt(fn_ptr)` |
| 1989 | // or similar. This commit proposes to make `align` expressions a | 1989 | // or similar. This commit proposes to make `align` expressions a |
| 1990 | // compile error when compiled to Wasm architecture. | 1990 | // compile error when compiled to Wasm architecture. |
| 1991 | // | 1991 | // |
| 1992 | // Some references: | 1992 | // Some references: |
| 1993 | // [1] [Mozilla: WebAssembly Tables](https://developer.mozilla.org/en-US/docs/WebAssembly/Understanding_the_text_format#WebAssembly_tables) | 1993 | // [1] [Mozilla: WebAssembly Tables](https://developer.mozilla.org/en-US/docs/WebAssembly/Understanding_the_text_format#WebAssembly_tables) |
| 1994 | // [2] [Sunfishcode's Wasm Ref Manual](https://github.com/sunfishcode/wasm-reference-manual/blob/master/WebAssembly.md#indirect-call) | 1994 | // [2] [Sunfishcode's Wasm Ref Manual](https://github.com/sunfishcode/wasm-reference-manual/blob/master/WebAssembly.md#indirect-call) |
| ... | @@ -9044,7 +9044,7 @@ static void resolve_llvm_types_optional(CodeGen *g, ZigType *type, ResolveStatus | ... | @@ -9044,7 +9044,7 @@ static void resolve_llvm_types_optional(CodeGen *g, ZigType *type, ResolveStatus |
| 9044 | 8 * child_type->abi_align, | 9044 | 8 * child_type->abi_align, |
| 9045 | val_offset_in_bits, | 9045 | val_offset_in_bits, |
| 9046 | ZigLLVM_DIFlags_Zero, child_llvm_di_type); | 9046 | ZigLLVM_DIFlags_Zero, child_llvm_di_type); |
| 9047 | di_element_types[maybe_null_index] = | 9047 | di_element_types[maybe_null_index] = |
| 9048 | ZigLLVMCreateDebugMemberType(g->dbuilder, ZigLLVMTypeToScope(type->llvm_di_type), | 9048 | ZigLLVMCreateDebugMemberType(g->dbuilder, ZigLLVMTypeToScope(type->llvm_di_type), |
| 9049 | "maybe", di_file, line, | 9049 | "maybe", di_file, line, |
| 9050 | 8*g->builtin_types.entry_bool->abi_size, | 9050 | 8*g->builtin_types.entry_bool->abi_size, |