get binary code to work

This commit is contained in:
Torsten Ruger
2015-05-28 21:10:27 +03:00
parent 5845bde33a
commit c28430698c
4 changed files with 36 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ module Parfait
raise "No class #{name}" unless clazz
@for_class = clazz
@name = name
@code = BinaryCode.new_object 0
@code = BinaryCode.new_object name
@arg_names = arg_names
@locals = []
@tmps = []