| ... | @@ -1353,10 +1353,14 @@ fn transCreatePointerArithmeticSignedOp( | ... | @@ -1353,10 +1353,14 @@ fn transCreatePointerArithmeticSignedOp( |
| 1353 | | 1353 | |
| 1354 | const bitcast_node = try usizeCastForWrappingPtrArithmetic(c.arena, rhs_node); | 1354 | const bitcast_node = try usizeCastForWrappingPtrArithmetic(c.arena, rhs_node); |
| 1355 | | 1355 | |
| 1356 | const arith_args = .{ .lhs = lhs_node, .rhs = bitcast_node }; | 1356 | return transCreateNodeInfixOp( |
| 1357 | const arith_node = try if (is_add) Tag.add.create(c.arena, arith_args) else Tag.sub.create(c.arena, arith_args); | 1357 | c, |
| 1358 | | 1358 | scope, |
| 1359 | return maybeSuppressResult(c, scope, result_used, arith_node); | 1359 | if (is_add) .add else .sub, |
| | 1360 | lhs_node, |
| | 1361 | bitcast_node, |
| | 1362 | result_used, |
| | 1363 | ); |
| 1360 | } | 1364 | } |
| 1361 | | 1365 | |
| 1362 | fn transBinaryOperator( | 1366 | fn transBinaryOperator( |