remove method_compiler init method
as init is really just adding a label it is done in the method (thus mixing the levels, “polluting” parfait with risc, but there must be change coming that way anyway)
This commit is contained in:
@ -63,7 +63,7 @@ end
|
||||
|
||||
module CleanCompile
|
||||
def clean_compile(clazz_name , method_name , args , statements)
|
||||
compiler = Vm::MethodCompiler.create_method(clazz_name,method_name,args ).init_method
|
||||
compiler = Vm::MethodCompiler.create_method(clazz_name,method_name,args )
|
||||
compiler.process( Vm.ast_to_code( statements ) )
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user