From e4b4551acf23b287ff8d917d4a527fc055eeedf3 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 9 Jun 2018 08:13:37 +0300 Subject: [PATCH] minor simplification --- lib/parfait/typed_method.rb | 1 - lib/risc/boot.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/parfait/typed_method.rb b/lib/parfait/typed_method.rb index 8b5729d5..4e783633 100644 --- a/lib/parfait/typed_method.rb +++ b/lib/parfait/typed_method.rb @@ -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) diff --git a/lib/risc/boot.rb b/lib/risc/boot.rb index eae07d36..f1315fc6 100644 --- a/lib/risc/boot.rb +++ b/lib/risc/boot.rb @@ -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} ,