aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 05bc957bbb..abcb9b4060 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -10668,8 +10668,7 @@ const ParamTypeIterator = struct {
.memory => {
it.zig_index += 1;
it.llvm_index += 1;
- it.byval_attr = true;
- return .byref;
+ return .byref_mut;
},
.sse => {
it.zig_index += 1;