stop including positioned

This commit is contained in:
Torsten Ruger
2017-01-01 21:52:35 +02:00
parent fafcd15ce8
commit cd474f66f6
4 changed files with 6 additions and 9 deletions
+1 -2
View File
@@ -13,7 +13,6 @@ module Register
# Branches fan out, Labels collect
# Labels are the only valid branch targets
class Instruction
include Positioned
def initialize source , nekst = nil
@source = source
@@ -100,7 +99,7 @@ module Register
end
def set_position position , labels = []
super(position)
Positioned.set_position(self,position)
position += byte_length
if self.next
self.next.set_position(position , labels)
-2
View File
@@ -30,8 +30,6 @@ module Parfait
object
end
include Positioned
# 1 -based index
def get_internal_word(index)
name = get_type().name_at(index)
-1
View File
@@ -1,6 +1,5 @@
class Symbol
include Positioned
def has_type?
true