And we are green again

After having over 600 failing tests at one point, this does feel good.
Even better, most of the risc/interpreter tests where i didn't change anything came gree without changing the tests. ie we have binary compatibility.
This commit is contained in:
2019-08-14 11:11:26 +03:00
parent c13a8ceb11
commit b2260d856d
14 changed files with 73 additions and 38 deletions

View File

@ -27,7 +27,7 @@ module Mom
add_code exit_label
end
compiler.reset_regs
exit_sequence(builder)
Builtin.exit_sequence(builder)
return compiler
end
end

View File

@ -42,7 +42,7 @@ module Mom
def __init__( context )
compiler = Mom::MethodCompiler.compiler_for_class(:Object,:__init__ ,
Parfait::NamedList.type_for({}) , Parfait::NamedList.type_for({}))
compiler.add_code MethodMissing.new("missing")
compiler.add_code Init.new("missing")
return compiler
end