diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-02-16 15:58:47 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-02-17 19:17:56 +0100 |
| commit | e0f8d4e68e159f3b33ab7397f54379345ec683a9 (patch) | |
| tree | 3f076ec7b3885eea1992401ba96b3a43d133ff93 /src/codegen | |
| parent | 9c015e6c2b7b153f1a5897caf872a9428f232b47 (diff) | |
| download | zig-e0f8d4e68e159f3b33ab7397f54379345ec683a9.tar.gz zig-e0f8d4e68e159f3b33ab7397f54379345ec683a9.zip | |
std.builtin: Rename CallingConvention.wasm_watc to wasm_mvp.
Diffstat (limited to 'src/codegen')
| -rw-r--r-- | src/codegen/llvm.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 9248edc1dc..9fcfe3a4d8 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -11811,7 +11811,7 @@ fn toLlvmCallConvTag(cc_tag: std.builtin.CallingConvention.Tag, target: std.Targ .powerpc_sysv_altivec, .powerpc_aix, .powerpc_aix_altivec, - .wasm_watc, + .wasm_mvp, .arc_sysv, .avr_gnu, .bpf_std, @@ -11988,7 +11988,7 @@ fn firstParamSRet(fn_info: InternPool.Key.FuncType, zcu: *Zcu, target: std.Targe .x86_64_win => x86_64_abi.classifyWindows(return_type, zcu) == .memory, .x86_sysv, .x86_win => isByRef(return_type, zcu), .x86_stdcall => !isScalar(zcu, return_type), - .wasm_watc => wasm_c_abi.classifyType(return_type, zcu)[0] == .indirect, + .wasm_mvp => wasm_c_abi.classifyType(return_type, zcu)[0] == .indirect, .aarch64_aapcs, .aarch64_aapcs_darwin, .aarch64_aapcs_win, @@ -12073,7 +12073,7 @@ fn lowerFnRetTy(o: *Object, fn_info: InternPool.Key.FuncType) Allocator.Error!Bu return o.builder.structType(.normal, types[0..types_len]); }, }, - .wasm_watc => { + .wasm_mvp => { if (isScalar(zcu, return_type)) { return o.lowerType(return_type); } @@ -12338,7 +12338,7 @@ const ParamTypeIterator = struct { }, } }, - .wasm_watc => { + .wasm_mvp => { it.zig_index += 1; it.llvm_index += 1; if (isScalar(zcu, ty)) { |
