Skip to content

Commit c7b18ff

Browse files
committed
Fix comma spacing
1 parent 31b2a1f commit c7b18ff

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
@@ -3480,7 +3480,7 @@ impl Function {
34803480

34813481
pub fn coerce_to(&mut self, block: BlockId, val: InsnId, guard_type: Type, state: InsnId) -> InsnId {
34823482
if self.is_a(val, guard_type) { return val; }
3483-
self.push_insn(block, Insn::GuardType { val, guard_type, state , recompile: None})
3483+
self.push_insn(block, Insn::GuardType { val, guard_type, state, recompile: None})
34843484
}
34853485

34863486
fn count_complex_call_features(&mut self, block: BlockId, ci_flags: c_uint) {
@@ -4386,16 +4386,16 @@ impl Function {
43864386
fn load_ivar_guard_type(&mut self, block: BlockId, recv: InsnId, recv_type: ProfiledType, state: InsnId) -> InsnId {
43874387
if recv_type.flags().is_t_class() {
43884388
// Check class first since `Class < Module`
4389-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state , recompile: None})
4389+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Class, state, recompile: None})
43904390
} else if recv_type.flags().is_t_module() {
4391-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state , recompile: None})
4391+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::Module, state, recompile: None})
43924392
} else if recv_type.flags().is_t_data() {
4393-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state , recompile: None})
4393+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::TData, state, recompile: None})
43944394
} else {
43954395
// HeapBasicObject is wider than T_OBJECT, but shapes for T_OBJECTs are in a pool of
43964396
// its own and are guaranteed to be different from shapes of any other T_* types. So
43974397
// the shape check that follows already covers checking for T_OBJECT.
4398-
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state , recompile: None})
4398+
self.push_insn(block, Insn::GuardType { val: recv, guard_type: types::HeapBasicObject, state, recompile: None})
43994399
}
44004400
}
44014401

0 commit comments

Comments
 (0)