rename method_compiler

in line with other compiler XX_Compiler being the compiler for that layer
remove type from compiler as it is in method available
This commit is contained in:
Torsten Ruger
2018-06-29 14:48:52 +03:00
parent 114dc95b60
commit 6bd01fd55f
11 changed files with 14 additions and 17 deletions

View File

@ -18,7 +18,7 @@ module Mom
# In other words Mom is the higher abstraction and so mom instructions convert
# to many (1-10) risc instructions
#
# The argument that is passed is a MethodCompiler, which has the method and some
# The argument that is passed is a RiscCompiler, which has the method and some
# state about registers used. (also provides helpers to generate risc instructions)
def to_risc(compiler)
raise self.class.name + "_todo"