keep risc and cpu instructions separate in method

that overwriting was a bit of thorn
This commit is contained in:
Torsten Ruger
2018-03-25 19:33:50 +03:00
parent a50368c3aa
commit 3090ccffea
6 changed files with 29 additions and 15 deletions

View File

@ -149,9 +149,9 @@ 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, instructions: :Object,
binary: :BinaryCode, arguments: :Type , for_type: :Type,
frame: :Type } ,
TypedMethod: {name: :Word, source: :Object, risc_instructions: :Object,
cpu_instructions: :Object, binary: :BinaryCode,
arguments: :Type , for_type: :Type, frame: :Type } ,
}
end