was missing some super inits

This commit is contained in:
Torsten Ruger 2015-05-21 21:50:17 +03:00
parent a28b41a5f5
commit 531d3e181a
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ module Parfait
# #
# internally we store keys and values in lists, which means this does **not** scale well # internally we store keys and values in lists, which means this does **not** scale well
def initialize def initialize
super()
@keys = List.new_object() @keys = List.new_object()
@values = List.new_object() @values = List.new_object()
end end

View File

@ -23,6 +23,7 @@
module Parfait module Parfait
class Frame < Object class Frame < Object
def initialize locals , temps def initialize locals , temps
super()
@locals = locals @locals = locals
@tmps = tmps @tmps = tmps
end end

View File

@ -20,6 +20,7 @@ module Parfait
class Method < Object class Method < Object
def initialize name , arg_names def initialize name , arg_names
super()
@name = name @name = name
@arg_names = arg_names @arg_names = arg_names
@locals = [] @locals = []