small rename
This commit is contained in:
parent
0ccb7df0ab
commit
b6939fe4b3
@ -65,7 +65,7 @@ module Vool
|
||||
def compile_methods(clazz , methods)
|
||||
methods.each do |method|
|
||||
code = Passes::MethodCompiler.new(method).get_code
|
||||
typed_method = method.create_vm_method(clazz.instance_type)
|
||||
typed_method = method.create_parfait_method(clazz.instance_type)
|
||||
Vm::MethodCompiler.new( typed_method ).init_method.process( code )
|
||||
end
|
||||
end
|
||||
|
@ -15,7 +15,7 @@ module Vool
|
||||
@source = yield @source
|
||||
end
|
||||
|
||||
def create_vm_method( type )
|
||||
def create_parfait_method( type )
|
||||
raise "create_method #{type.inspect} is not a Type" unless type.is_a? Parfait::Type
|
||||
type.create_method( @name , @args_type )#FIXME, @locals_type)
|
||||
end
|
||||
|
@ -45,7 +45,7 @@ module Rubyx
|
||||
def compile_methods(clazz , methods)
|
||||
methods.each do |method|
|
||||
code = Passes::MethodCompiler.new(method).get_code
|
||||
typed_method = method.create_vm_method(clazz.instance_type)
|
||||
typed_method = method.create_parfait_method(clazz.instance_type)
|
||||
Vm::MethodCompiler.new( typed_method ).init_method.process( code )
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user