rubyx/lib/risc/builtin/compile_helper.rb
Torsten Ruger 6bd01fd55f rename method_compiler
in line with other compiler XX_Compiler being the compiler for that layer
remove type from compiler as it is in method available
2018-06-29 14:48:52 +03:00

15 lines
358 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 )
Risc::RiscCompiler.compiler_for_class(clazz_name , method_name , args, frame )
end
end
end
end