minor simplification
This commit is contained in:
parent
ad3040a846
commit
e4b4551acf
@ -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)
|
||||
|
@ -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} ,
|
||||
|
Loading…
Reference in New Issue
Block a user