mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
Use null keyword instead of kludge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49ca7aae44
commit
a6f1ac40a4
@ -4,8 +4,7 @@ declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const
|
||||
|
||||
int "testvarar"()
|
||||
begin
|
||||
cast int 0 to sbyte*
|
||||
call int(sbyte*, ...) *%printf(sbyte * %0, int 12, sbyte 42);
|
||||
call int(sbyte*, ...) *%printf(sbyte * null, int 12, sbyte 42);
|
||||
ret int %0
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user