get conditions to work for while

This commit is contained in:
Torsten Ruger
2014-05-22 21:38:57 +03:00
parent c196817568
commit 4f0b769e82
6 changed files with 32 additions and 8 deletions

View File

@ -20,13 +20,13 @@ module Ast
def save_locals context , into
into.instance_eval do
push [:r1 , :r2 , :r3]
push [:r0,:r1 , :r2 , :r3]
end
end
def restore_locals context , into
into.instance_eval do
pop [:r1, :r2 , :r3]
pop [:r0,:r1, :r2 , :r3]
end
end