projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
192dca39fee4935be528446825b4adcad3f8a581
[oota-llvm.git]
/
test
/
Feature
/
calltest.ll
1
implementation
2
3
; Bytecode gets a constant pool block, that constains:
4
; type plane: int(int)
5
6
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
7
begin
8
%retval = call int (int) *%test(int %argc)
9
%two = add int %retval, %retval
10
ret int %two
11
end
12
13
int "test"(int %i0)
14
begin
15
ret int %i0
16
end