new register allocation generates good looking push/pop
This commit is contained in:
@@ -7,6 +7,8 @@ module Ast
|
||||
puts "compiling while condition #{condition}"
|
||||
cond_val = condition.compile(context , while_block)
|
||||
while_block.b ret , condition_code: cond_val.not_operator
|
||||
while_block.branch = ret
|
||||
|
||||
last = nil
|
||||
body.each do |part|
|
||||
puts "compiling in while #{part}"
|
||||
|
Reference in New Issue
Block a user