mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Updated mangling code.
This commit is contained in:
@@ -17,7 +17,7 @@ fn int foo(int x) @export
|
||||
}
|
||||
/* #expect: test.ll
|
||||
|
||||
define i32 @test_foo(i32 %0) #0 {
|
||||
define i32 @test__foo(i32 %0) #0 {
|
||||
entry:
|
||||
%x = alloca i32, align 4
|
||||
%switch = alloca i32, align 4
|
||||
|
||||
@@ -718,7 +718,7 @@ entry:
|
||||
br i1 %eq, label %and.rhs, label %and.phi
|
||||
|
||||
and.rhs: ; preds = %entry
|
||||
%2 = call i8 @char.is_alpha(i8 zeroext %1)
|
||||
%2 = call i8 @std.ascii.char.is_alpha(i8 zeroext %1)
|
||||
%3 = trunc i8 %2 to i1
|
||||
br label %and.phi
|
||||
|
||||
@@ -731,7 +731,7 @@ or.rhs: ; preds = %and.phi
|
||||
br i1 %lt, label %and.rhs1, label %and.phi2
|
||||
|
||||
and.rhs1: ; preds = %or.rhs
|
||||
%4 = call i8 @char.is_alnum(i8 zeroext %1)
|
||||
%4 = call i8 @std.ascii.char.is_alnum(i8 zeroext %1)
|
||||
%5 = trunc i8 %4 to i1
|
||||
br label %and.phi2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user