fix mod4 name

really did div4
This commit is contained in:
Torsten Ruger
2018-04-19 10:00:55 +03:00
parent 8e1efa3993
commit 3a50b7dd0e
21 changed files with 41 additions and 39 deletions

View File

@ -44,10 +44,9 @@ module Parfait
@arguments_type = arguments_type
@frame_type = frame_type
@binary = BinaryCode.new(0)
source = "_init_method"
name = "#{@for_type.name}.#{@name}"
@risc_instructions = Risc.label(source, name)
@risc_instructions << Risc.label( source, "unreachable")
@risc_instructions = Risc.label(self, name)
@risc_instructions << Risc.label( self, "unreachable")
end
def translate_cpu(translator)