debugging to find operator not being ssa

This commit is contained in:
2020-03-14 12:23:34 +02:00
parent 61fc8a3991
commit 0cde7c1d0a
5 changed files with 29 additions and 6 deletions

View File

@ -19,6 +19,9 @@ module Parfait
end
def rxf_reference_name
to_s
end
def to_s
"Method: " + @name.to_s
end

View File

@ -119,5 +119,9 @@ module Parfait
obj.set_type(type)
obj
end
def to_s
"Factory:#{for_type.name}"
end
end
end

View File

@ -57,7 +57,8 @@ module Parfait
@method.name
end
def to_s
"Message:#{method_name}(#{@arguments_given})"
id = @method ? @method.name : object_id.to_s(16)
"Message:#{id}(#{@arguments_given.value})"
end
def _set_next_message(nekst)

View File

@ -182,6 +182,10 @@ module Parfait
"'" + to_s + "'"
end
def to_s
"Word:#{to_string}"
end
def padded_length
Object.padded( 4 * get_type().instance_length + @char_length )
end