Fix CI
This commit is contained in:
parent
ee36a1fbb1
commit
b0f870edd6
@ -11,7 +11,11 @@ pub(crate) fn maybe_codegen<'tcx>(
|
||||
lhs: CValue<'tcx>,
|
||||
rhs: CValue<'tcx>,
|
||||
) -> Option<CValue<'tcx>> {
|
||||
if lhs.layout().ty != fx.tcx.types.u128 && lhs.layout().ty != fx.tcx.types.i128 {
|
||||
if lhs.layout().ty != fx.tcx.types.u128
|
||||
&& lhs.layout().ty != fx.tcx.types.i128
|
||||
&& rhs.layout().ty != fx.tcx.types.u128
|
||||
&& rhs.layout().ty != fx.tcx.types.i128
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
|
@ -167,9 +167,7 @@ impl Pointer {
|
||||
) -> Value {
|
||||
match self.base {
|
||||
PointerBase::Addr(base_addr) => fx.bcx.ins().load(ty, flags, base_addr, self.offset),
|
||||
PointerBase::Stack(stack_slot) => {
|
||||
fx.bcx.ins().stack_load(ty, stack_slot, self.offset)
|
||||
}
|
||||
PointerBase::Stack(stack_slot) => fx.bcx.ins().stack_load(ty, stack_slot, self.offset),
|
||||
PointerBase::Dangling(_align) => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user