2016-12-15 18:20:54 +01:00
|
|
|
|
2017-01-19 08:02:29 +01:00
|
|
|
module Risc
|
2016-12-15 18:20:54 +01:00
|
|
|
module Builtin
|
|
|
|
module CompileHelper
|
|
|
|
|
2018-06-29 12:03:19 +02:00
|
|
|
def compiler_for( clazz_name , method_name , arguments , locals = {})
|
2018-05-14 19:50:52 +02:00
|
|
|
frame = Parfait::NamedList.type_for( locals )
|
2018-03-18 17:38:35 +01:00
|
|
|
args = Parfait::NamedList.type_for( arguments )
|
2018-06-30 22:26:28 +02:00
|
|
|
MethodCompiler.compiler_for_class(clazz_name , method_name , args, frame )
|
2016-12-15 18:20:54 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|