summary refs log tree commit diff
path: root/proto/lo2.ml
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-08 00:18:31 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:30 -0400
commit1721fe43137e54e05a62663235a5a8cebb7f4761 (patch)
tree3c8f9ea661ebced5787b0b701ce1f630e4750ade /proto/lo2.ml
parent83131357f7a15ee28208e41b1503937df34b99ba (diff)
downloadroux-1721fe43137e54e05a62663235a5a8cebb7f4761.tar.gz
fix a bug in setloc
The way we detected if limit had spilled a variable
was incorrect.  This is because two consecutive calls
to limit could require a spill of the same variable.
Instead, we now use a return value from limit.

Note that this is still not so ideal.  Indeed, it works
properly only when limit spills one value only, if not,
we should return a bitset.  In the current use scheme
of limit, this invariant is true but ideally we would
like to call limit with *all arguments added at once*,
not one after the other.
Diffstat (limited to 'proto/lo2.ml')
0 files changed, 0 insertions, 0 deletions