| Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 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 | ||||