| ... | ... | @@ -10092,8 +10092,8 @@ fn vectorTypeAssumeCapacity( |
| 10092 | 10092 | .data = self.addTypeExtraAssumeCapacity(data), |
| 10093 | 10093 | }); |
| 10094 | 10094 | if (self.useLibLlvm()) self.llvm.types.appendAssumeCapacity(switch (kind) { |
| 10095 | | .normal => llvm.Type.vectorType, |
| 10096 | | .scalable => llvm.Type.scalableVectorType, |
| 10095 | .normal => &llvm.Type.vectorType, |
| 10096 | .scalable => &llvm.Type.scalableVectorType, |
| 10097 | 10097 | }(child.toLlvm(self), @intCast(len))); |
| 10098 | 10098 | } |
| 10099 | 10099 | return @enumFromInt(gop.index); |
| ... | ... | @@ -11274,8 +11274,8 @@ fn gepConstAssumeCapacity( |
| 11274 | 11274 | for (llvm_indices, indices) |*llvm_index, index| llvm_index.* = index.toLlvm(self); |
| 11275 | 11275 | |
| 11276 | 11276 | self.llvm.constants.appendAssumeCapacity(switch (kind) { |
| 11277 | | .normal => llvm.Type.constGEP, |
| 11278 | | .inbounds => llvm.Type.constInBoundsGEP, |
| 11277 | .normal => &llvm.Type.constGEP, |
| 11278 | .inbounds => &llvm.Type.constInBoundsGEP, |
| 11279 | 11279 | }(ty.toLlvm(self), base.toLlvm(self), llvm_indices.ptr, @intCast(llvm_indices.len))); |
| 11280 | 11280 | } |
| 11281 | 11281 | } |