mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
fix llvm gen tests
This commit is contained in:
parent
f7104bfe54
commit
c38f8bec75
2 changed files with 35 additions and 40 deletions
|
@ -144,14 +144,8 @@ fn build_eq<'a, 'ctx>(
|
|||
lhs_val: BasicValueEnum<'ctx>,
|
||||
rhs_val: BasicValueEnum<'ctx>,
|
||||
lhs_layout: LayoutRepr<'a>,
|
||||
rhs_layout: LayoutRepr<'a>,
|
||||
_rhs_layout: LayoutRepr<'a>,
|
||||
) -> BasicValueEnum<'ctx> {
|
||||
debug_assert_eq!(
|
||||
lhs_layout, rhs_layout,
|
||||
"Equality of different layouts; did you have a type mismatch?\n{:?} == {:?}",
|
||||
lhs_layout, rhs_layout
|
||||
);
|
||||
|
||||
match lhs_layout {
|
||||
LayoutRepr::Builtin(builtin) => build_eq_builtin(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue