summary refs log tree commit diff
path: root/alias.c
AgeCommit message (Collapse)Author
2017-04-10simplify slot logic in alias analysisQuentin Carbonneaux
The previous code was buggy. It would put a stack pointer on the heap when handling "add $foo, 42". The new code is more straightforward and hopefully more correct. Only temporaries with a "stack" alias class will have a slot pointer.
2017-02-24fix pretty bad bug in alias analysisQuentin Carbonneaux
When a temporary marked local is escaping, the whole slot must be marked as such. To solve this, Alias now holds a pointer to the alias information of the slot. For simplicity of the code, this pointer is always valid and fetching ->type out of it is meaningful.
2017-02-23propagate aliasing information through copiesQuentin Carbonneaux
2017-02-06use uint for block idsQuentin Carbonneaux
2016-12-12implement a simple alias analysisQuentin Carbonneaux