aboutsummaryrefslogtreecommitdiff
path: root/tests/test_float_literals.cpp
diff options
context:
space:
mode:
authorRyan Kelly <ryan@rfk.id.au>2014-01-23 00:28:14 +1100
committerRyan Kelly <ryan@rfk.id.au>2014-01-23 22:32:40 +1100
commita912e8271c990e59b2dd7c1d03d1adb9151f49de (patch)
tree372107053f1af6070befab591d5555b868c3009d /tests/test_float_literals.cpp
parentdb122ed09d76e9ea634c40fc8601e2b16c85f479 (diff)
Reduce memory usage when assigning registers in a block.
Rather than pre-calculating liveness states and then processing nodes in execution order, we process nodes in reverse execution order and use the liveness info implicit in this traversal. Names are assigned a register when they're used for the first time, and the register is freed when we reach an assignment.
Diffstat (limited to 'tests/test_float_literals.cpp')
0 files changed, 0 insertions, 0 deletions