Skip to content

Commit 6099d97

Browse files
committed
Fix rebase
1 parent 05a41b8 commit 6099d97

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/builder.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,14 +1705,6 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
17051705

17061706
fn zext(&mut self, value: RValue<'gcc>, dest_typ: Type<'gcc>) -> RValue<'gcc> {
17071707
// FIXME(antoyo): this does not zero-extend.
1708-
<<<<<<< HEAD
1709-
=======
1710-
if value.get_type().is_bool() && dest_typ.is_i8(self.cx) {
1711-
// FIXME(antoyo): hack because base::from_immediate converts i1 to i8.
1712-
// Fix the code in codegen_ssa::base::from_immediate.
1713-
return value;
1714-
}
1715-
>>>>>>> master
17161708
self.gcc_int_cast(value, dest_typ)
17171709
}
17181710

0 commit comments

Comments
 (0)