more block tests reveal a compiler bug

copy/paste, args twice in switch
This commit is contained in:
Torsten Ruger
2018-07-18 10:13:19 +03:00
parent ff8b95f21a
commit 3c1137066b
4 changed files with 24 additions and 20 deletions

View File

@ -40,7 +40,7 @@ module Risc
slot_def = [:frame]
elsif @method.arguments_type.variable_index(name)
slot_def = [:caller , :arguments ]
elsif @method.arguments_type.variable_index(name)
elsif @method.frame_type.variable_index(name)
slot_def = [:caller , :frame ]
elsif
raise "no variable #{name} , need to resolve at runtime"