mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove old try/catch. Remove incorrect flattening. Basic asm. Start work on if-catch-switch.
This commit is contained in:
@@ -139,8 +139,8 @@ after_check17: ; preds = %testblock
|
||||
|
||||
end_block: ; preds = %after_check17, %error
|
||||
%13 = load i64, i64* %e, align 8
|
||||
%intbool = icmp ne i64 %13, 0
|
||||
br i1 %intbool, label %if.then18, label %if.exit19
|
||||
%neq = icmp ne i64 %13, 0
|
||||
br i1 %neq, label %if.then18, label %if.exit19
|
||||
|
||||
if.then18: ; preds = %end_block
|
||||
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i32 0, i32 0))
|
||||
|
||||
@@ -82,8 +82,8 @@ after.errcheck: ; preds = %testblock1
|
||||
|
||||
end_block: ; preds = %after.errcheck, %error3, %error
|
||||
%2 = load i64, i64* %err, align 8
|
||||
%intbool = icmp ne i64 %2, 0
|
||||
br i1 %intbool, label %if.then, label %if.else
|
||||
%neq = icmp ne i64 %2, 0
|
||||
br i1 %neq, label %if.then, label %if.else
|
||||
|
||||
if.then: ; preds = %end_block
|
||||
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
|
||||
|
||||
Reference in New Issue
Block a user