Skip to content

Commit 6266b5a

Browse files
committed
Fix comma spacing
1 parent 0ce2aa8 commit 6266b5a

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
@@ -3434,7 +3434,7 @@ impl Function {
34343434

34353435
pub fn coerce_to(&mut self, block: BlockId, val: InsnId, guard_type: Type, state: InsnId) -> InsnId {
34363436
if self.is_a(val, guard_type) { return val; }
3437-
self.push_insn(block, Insn::GuardType { val, guard_type, state , recompile: None})
3437+
self.push_insn(block, Insn::GuardType { val, guard_type, state, recompile: None})
34383438
}
34393439

34403440
fn count_complex_call_features(&mut self, block: BlockId, ci_flags: c_uint) {
@@ -4340,16 +4340,16 @@ impl Function {
43404340
fn load_ivar_guard_type(&mut self, block: BlockId, recv: InsnId, recv_type: ProfiledType, state: InsnId) -> InsnId {
43414341
if recv_type.flags().is_t_class() {
43424342
// Check class first since `Class < Module`
4343-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state , recompile: None})
4343+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state, recompile: None})
43444344
} else if recv_type.flags().is_t_module() {
4345-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state , recompile: None})
4345+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state, recompile: None})
43464346
} else if recv_type.flags().is_t_data() {
4347-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state , recompile: None})
4347+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state, recompile: None})
43484348
} else {
43494349
// HeapBasicObject is wider than T_OBJECT, but shapes for T_OBJECTs are in a pool of
43504350
// its own and are guaranteed to be different from shapes of any other T_* types. So
43514351
// the shape check that follows already covers checking for T_OBJECT.
4352-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state , recompile: None})
4352+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state, recompile: None})
43534353
}
43544354
}
43554355

0 commit comments

Comments
 (0)