mostly renames from the type change

also making setters as explicit set_xx methods
This commit is contained in:
Torsten Ruger
2016-12-29 18:45:32 +02:00
parent f4b3c645e5
commit b5f04ec718
11 changed files with 42 additions and 30 deletions

View File

@ -133,7 +133,7 @@ module Typed
def init_method
source = "_init_method"
name = "#{method.for_type.name}.#{method.name}"
@method.instructions = Register.label(source, name)
@method.set_instructions( Register.label(source, name))
@current = enter = method.instructions
add_label( source, "return #{name}")
#load the return address into pc, affecting return. (other cpus have commands for this, but not arm)