move dynamic_call to builder

no change of test, great
also remove some duplicate code that was hanging around in method_compiler
This commit is contained in:
Torsten Ruger
2018-08-16 10:43:41 +03:00
parent ce157ffa94
commit da9dc30c20
4 changed files with 27 additions and 111 deletions

View File

@ -48,18 +48,6 @@ module Risc
slot_def << name
end
# return the frame type, ie the blocks frame type
def frame_type
@callable.frame_type
end
# return the frame type, ie the blocks arguments type
def arg_type
@callable.arguments_type
end
# return the frame type, ie the blocks self_type
def receiver_type
@callable.self_type
end
end
end