rubyx/lib/risc/builtin/compile_helper.rb
Torsten Ruger e237bc625a remove unused methods
and a whole lot more index fixes
2018-05-14 20:50:52 +03:00

15 lines
343 B
Ruby

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