fn generateOp(smith: *Smith, any_allocs: bool) Op
smith: *Smith
any_allocs: bool
1388 1389 1390 1391 1392 1393 1394
fn generateOp(smith: *Smith, any_allocs: bool) Op { @disableInstrumentation(); return if (any_allocs) smith.valueWeighted(Op, &.{ .rangeAtMost(Op, .alloc, .free, 4), .rangeAtMost(Op, .resize, .remap, 1), }) else .alloc; }