function call now saves the return address before calling

that means SaveReturn is obsolete (breaks loads of tests)
first step towards multi - return which obviously can not have the
callee save return address.
In fact this would make FunctionCall redundant too, as it is really
just a branch
This commit is contained in:
Torsten Ruger
2015-11-03 11:20:49 +02:00
parent cffbc91821
commit bc414fd3e8
3 changed files with 5 additions and 33 deletions

View File

@ -123,7 +123,6 @@ require_relative "instructions/load_constant"
require_relative "instructions/syscall"
require_relative "instructions/function_call"
require_relative "instructions/function_return"
require_relative "instructions/save_return"
require_relative "instructions/register_transfer"
require_relative "instructions/label"
require_relative "instructions/branch"