mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 18:48:13 +00:00
Only use one form of printVal per program to avoid spurious link errors
llvm-svn: 1292
This commit is contained in:
parent
2d05a0dd7d
commit
42ca69b918
@ -6,7 +6,7 @@ implementation
|
|||||||
declare void "__main"()
|
declare void "__main"()
|
||||||
|
|
||||||
declare void "printVal"([sbyte] *)
|
declare void "printVal"([sbyte] *)
|
||||||
declare void "printVal"(int)
|
declare void "printInt"(int)
|
||||||
|
|
||||||
declare int "atoi"(sbyte *)
|
declare int "atoi"(sbyte *)
|
||||||
|
|
||||||
@ -54,9 +54,9 @@ bb8: ;[#uses=2]
|
|||||||
bb9: ;[#uses=3]
|
bb9: ;[#uses=3]
|
||||||
%reg135 = phi int [ %reg124, %bb8 ], [ %reg119, %bb7 ], [ %reg115, %bb5 ] ; <int> [#uses=1]
|
%reg135 = phi int [ %reg124, %bb8 ], [ %reg119, %bb7 ], [ %reg115, %bb5 ] ; <int> [#uses=1]
|
||||||
call void %printVal([sbyte] *%__intern_LC0)
|
call void %printVal([sbyte] *%__intern_LC0)
|
||||||
call void %printVal(int %reg132)
|
call void %printInt(int %reg132)
|
||||||
call void %printVal([sbyte] *%__intern_LC1)
|
call void %printVal([sbyte] *%__intern_LC1)
|
||||||
call void %printVal(int %reg135)
|
call void %printInt(int %reg135)
|
||||||
call void %printVal([sbyte] *%__intern_LC2)
|
call void %printVal([sbyte] *%__intern_LC2)
|
||||||
ret int 0
|
ret int 0
|
||||||
end
|
end
|
||||||
|
@ -8,7 +8,7 @@ declare void "__main"()
|
|||||||
declare int "atoi"(sbyte *)
|
declare int "atoi"(sbyte *)
|
||||||
|
|
||||||
declare void "printVal"([sbyte] *)
|
declare void "printVal"([sbyte] *)
|
||||||
declare void "printVal"(uint)
|
declare void "printUInt"(uint)
|
||||||
|
|
||||||
int "main"(int %argc, sbyte * * %argv)
|
int "main"(int %argc, sbyte * * %argv)
|
||||||
begin
|
begin
|
||||||
@ -43,7 +43,7 @@ bb6: ;[#uses=2]
|
|||||||
bb7: ;[#uses=2]
|
bb7: ;[#uses=2]
|
||||||
%reg128 = phi uint [ %reg127, %bb6 ], [ 1, %bb4 ] ; <uint> [#uses=1]
|
%reg128 = phi uint [ %reg127, %bb6 ], [ 1, %bb4 ] ; <uint> [#uses=1]
|
||||||
call void %printVal([sbyte] * %__intern_LC0)
|
call void %printVal([sbyte] * %__intern_LC0)
|
||||||
call void %printVal(uint %reg128 )
|
call void %printUInt(uint %reg128 )
|
||||||
call void %printVal([sbyte] * %__intern_LC1)
|
call void %printVal([sbyte] * %__intern_LC1)
|
||||||
ret int 0
|
ret int 0
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user