Added a comment about an idea on how to translate calls better. Gotta check some papers for better solutions later

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-06-28 16:20:31 +02:00
parent e934e77cc5
commit 7363e88cd7

8
ir.c
View file

@ -2120,6 +2120,14 @@ tailcall:
if (instr->opcode >= INSTR_CALL0 && instr->opcode <= INSTR_CALL8) {
/* Trivial call translation:
* copy all params to OFS_PARM*
*
* NOTES on how to do it better without much trouble:
* -) The liferanges!
* Simply check the liferange of all parameters for
* other CALLs. For each param with no CALL in its
* liferange, we can store it in an OFS_PARM at
* generation already. This would even include later
* reuse.... probably... :)
*/
printf("TODO: call instruction\n");
return false;