Skip to content

Commit f571c3f

Browse files
committed
ZJIT: Use initialization shorthand
1 parent efc6866 commit f571c3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ impl Function {
10741074
ArraySet { array, idx, val } => ArraySet { array: find!(*array), idx: *idx, val: find!(*val) },
10751075
ArrayDup { val , state } => ArrayDup { val: find!(*val), state: *state },
10761076
&HashDup { val , state } => HashDup { val: find!(val), state },
1077-
&CCall { cfun, ref args, name, return_type, elidable } => CCall { cfun: cfun, args: find_vec!(args), name: name, return_type: return_type, elidable },
1077+
&CCall { cfun, ref args, name, return_type, elidable } => CCall { cfun, args: find_vec!(args), name, return_type, elidable },
10781078
&Defined { op_type, obj, pushval, v } => Defined { op_type, obj, pushval, v: find!(v) },
10791079
&DefinedIvar { self_val, pushval, id, state } => DefinedIvar { self_val: find!(self_val), pushval, id, state },
10801080
NewArray { elements, state } => NewArray { elements: find_vec!(*elements), state: find!(*state) },

0 commit comments

Comments
 (0)