push the name down into callable

blocks need a name too
if just for debug, and stacks
This commit is contained in:
Torsten Ruger
2018-07-30 10:21:43 +03:00
parent 1cb07a4164
commit 4055709529
8 changed files with 25 additions and 18 deletions

View File

@ -134,11 +134,13 @@ module Parfait
def self.type_names
{BinaryCode: {next: :BinaryCode} ,
Block: {binary: :BinaryCode, next: :Block,
arguments_type: :Type , self_type: :Type, frame_type: :Type } ,
arguments_type: :Type , self_type: :Type, frame_type: :Type,
name: :Word } ,
CacheEntry: {cached_type: :Type , cached_method: :CallableMethod } ,
Callable: {binary: :BinaryCode,next: :Callable ,
arguments_type: :Type , self_type: :Type, frame_type: :Type } ,
arguments_type: :Type , self_type: :Type, frame_type: :Type,
name: :Word } ,
CallableMethod: {binary: :BinaryCode, next: :CallableMethod ,
arguments_type: :Type , self_type: :Type, frame_type: :Type ,
name: :Word , blocks: :Block} ,