simplify method entry exit codes
Basically just a label now No more implicit returns (needs compiler tests) Many return points is the new idea Also setup is done before the enter by MessageSetup
This commit is contained in:
@ -11,10 +11,10 @@ module Risc
|
||||
end
|
||||
|
||||
def preamble
|
||||
[Label, LoadConstant, SlotToReg, RegToSlot ]
|
||||
[Label ]
|
||||
end
|
||||
def postamble
|
||||
[ Label, FunctionReturn]
|
||||
[ Label]
|
||||
end
|
||||
# test hack to in place change object type
|
||||
def add_space_field(name,type)
|
||||
|
Reference in New Issue
Block a user