Skip to content

Commit a1a67a8

Browse files
committed
Fix comma spacing
1 parent 569a5fa commit a1a67a8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

zjit/src/hir.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,7 @@ impl Function {
34423442

34433443
pub fn coerce_to(&mut self, block: BlockId, val: InsnId, guard_type: Type, state: InsnId) -> InsnId {
34443444
if self.is_a(val, guard_type) { return val; }
3445-
self.push_insn(block, Insn::GuardType { val, guard_type, state , recompile: None})
3445+
self.push_insn(block, Insn::GuardType { val, guard_type, state, recompile: None})
34463446
}
34473447

34483448
fn count_complex_call_features(&mut self, block: BlockId, ci_flags: c_uint) {
@@ -4348,16 +4348,16 @@ impl Function {
43484348
fn load_ivar_guard_type(&mut self, block: BlockId, recv: InsnId, recv_type: ProfiledType, state: InsnId) -> InsnId {
43494349
if recv_type.flags().is_t_class() {
43504350
// Check class first since `Class < Module`
4351-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state , recompile: None})
4351+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state, recompile: None})
43524352
} else if recv_type.flags().is_t_module() {
4353-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state , recompile: None})
4353+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state, recompile: None})
43544354
} else if recv_type.flags().is_t_data() {
4355-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state , recompile: None})
4355+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state, recompile: None})
43564356
} else {
43574357
// HeapBasicObject is wider than T_OBJECT, but shapes for T_OBJECTs are in a pool of
43584358
// its own and are guaranteed to be different from shapes of any other T_* types. So
43594359
// the shape check that follows already covers checking for T_OBJECT.
4360-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state , recompile: None})
4360+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state, recompile: None})
43614361
}
43624362
}
43634363

0 commit comments

Comments
 (0)