rubyx/lib/risc/builtin/compile_helper.rb
Torsten Ruger 05669065ca back to method_compiler
it is what it is
2018-06-30 23:26:28 +03:00

15 lines
354 B
Ruby

module Risc
module Builtin
module CompileHelper
def compiler_for( clazz_name , method_name , arguments , locals = {})
frame = Parfait::NamedList.type_for( locals )
args = Parfait::NamedList.type_for( arguments )
MethodCompiler.compiler_for_class(clazz_name , method_name , args, frame )
end
end
end
end