inrtoduce block passes. move the allocation there and implement those simple optimisations

This commit is contained in:
Torsten Ruger
2014-06-11 11:41:50 +03:00
parent 7cca50cd3a
commit 4e6319b753
5 changed files with 104 additions and 19 deletions

View File

@ -18,7 +18,7 @@ module Elf
@object.add_section @text
program.link_at( 0 , program.context )
program.run_passes
binary = program.assemble(StringIO.new )
blocks = []