Skip to content

Commit b0f870e

Browse files
committed
Fix CI
1 parent ee36a1f commit b0f870e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/codegen_i128.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ pub(crate) fn maybe_codegen<'tcx>(
1111
lhs: CValue<'tcx>,
1212
rhs: CValue<'tcx>,
1313
) -> Option<CValue<'tcx>> {
14-
if lhs.layout().ty != fx.tcx.types.u128 && lhs.layout().ty != fx.tcx.types.i128 {
14+
if lhs.layout().ty != fx.tcx.types.u128
15+
&& lhs.layout().ty != fx.tcx.types.i128
16+
&& rhs.layout().ty != fx.tcx.types.u128
17+
&& rhs.layout().ty != fx.tcx.types.i128
18+
{
1519
return None;
1620
}
1721

src/pointer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ impl Pointer {
167167
) -> Value {
168168
match self.base {
169169
PointerBase::Addr(base_addr) => fx.bcx.ins().load(ty, flags, base_addr, self.offset),
170-
PointerBase::Stack(stack_slot) => {
171-
fx.bcx.ins().stack_load(ty, stack_slot, self.offset)
172-
}
170+
PointerBase::Stack(stack_slot) => fx.bcx.ins().stack_load(ty, stack_slot, self.offset),
173171
PointerBase::Dangling(_align) => unreachable!(),
174172
}
175173
}

0 commit comments

Comments
 (0)