mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 15:05:00 -07:00
Clean up lb_end_procedure_body logic
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user