| ... | ... | @@ -4223,9 +4223,11 @@ fn airStructFieldVal(f: *Function, inst: Air.Inst.Index) !CValue { |
| 4223 | 4223 | if (f.liveness.isUnused(inst)) |
| 4224 | 4224 | return CValue.none; |
| 4225 | 4225 | |
| 4226 | const inst_ty = f.air.typeOfIndex(inst); |
| 4227 | if (!inst_ty.hasRuntimeBitsIgnoreComptime()) return CValue.none; |
| 4228 | |
| 4226 | 4229 | const ty_pl = f.air.instructions.items(.data)[inst].ty_pl; |
| 4227 | 4230 | const extra = f.air.extraData(Air.StructField, ty_pl.payload).data; |
| 4228 | | const inst_ty = f.air.typeOfIndex(inst); |
| 4229 | 4231 | const target = f.object.dg.module.getTarget(); |
| 4230 | 4232 | const struct_byval = try f.resolveInst(extra.struct_operand); |
| 4231 | 4233 | const struct_ty = f.air.typeOf(extra.struct_operand); |