mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
test that tail call survives bytecodification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -9,11 +9,11 @@ declare int "test"() ; Differ only by vararg
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
void "invoke"(%FunTy *%x)
|
void "invoke"(%FunTy *%x) {
|
||||||
begin
|
|
||||||
%foo = call %FunTy* %x(int 123)
|
%foo = call %FunTy* %x(int 123)
|
||||||
|
%foo2 = tail call %FunTy* %x(int 123)
|
||||||
ret void
|
ret void
|
||||||
end
|
}
|
||||||
|
|
||||||
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
|
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user