fixing lengths
This commit is contained in:
@ -78,15 +78,5 @@ module Parfait
|
||||
"#{self.for_class.name}:#{name}(#{arguments.inspect})"
|
||||
end
|
||||
|
||||
def total_byte_length
|
||||
self.instructions.total_byte_length
|
||||
end
|
||||
|
||||
# position of the function is the position of the entry block, is where we call
|
||||
def set_position at
|
||||
at += 8 #for the 2 header words
|
||||
self.instructions.set_position at
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -122,10 +122,6 @@ module Parfait
|
||||
"'" + to_s + "'"
|
||||
end
|
||||
|
||||
def word_length
|
||||
padded self.length
|
||||
end
|
||||
|
||||
private
|
||||
def check_length
|
||||
raise "Length out of bounds #{self.char_length}" if self.char_length > 32
|
||||
|
Reference in New Issue
Block a user