Clean up lb_end_procedure_body logic

This commit is contained in:
gingerBill
2021-03-02 00:43:25 +00:00
parent 6faf024ab4
commit 2a1bec9fbb
2 changed files with 4 additions and 23 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ namespace lbAbi386 {
// TODO(bill): LLVM is probably bugged here and doesn't correctly generate the right code
// So even though it is "technically" wrong, no cast might be the best option
LLVMTypeRef cast_type = nullptr;
if (!is_return) {
if (true || !is_return) {
cast_type = LLVMVectorType(LLVMInt64TypeInContext(c), 2);
}
return lb_arg_type_direct(type, cast_type, nullptr, nullptr);