minor simplification

This commit is contained in:
Torsten Ruger 2018-06-09 08:13:37 +03:00
parent ad3040a846
commit e4b4551acf
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ module Parfait
attr_reader :name , :risc_instructions , :for_type , :cpu_instructions
attr_reader :arguments_type , :frame_type , :binary , :next_method
# not part of the parfait model, hence ruby accessor
attr_accessor :source
def initialize( type , name , arguments_type , frame_type)

View File

@ -152,7 +152,7 @@ module Risc
super_class_name: :Word , instance_names: :List },
Dictionary: {keys: :List , values: :List } ,
CacheEntry: {cached_type: :Type , cached_method: :TypedMethod } ,
TypedMethod: {name: :Word, source: :Object, risc_instructions: :Object,
TypedMethod: {name: :Word, risc_instructions: :Object,
cpu_instructions: :Object, binary: :BinaryCode,
arguments_type: :Type , for_type: :Type, frame_type: :Type ,
next_method: :TypedMethod} ,