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