update arm and small arm fixes
constants in arm chunks, needs better solution
This commit is contained in:
@ -60,7 +60,7 @@ class Symbol
|
||||
# resetting of position used to be error, but since relink and dynamic instruction size it is ok.
|
||||
# in measures (of 32)
|
||||
old = cache_positions[self]
|
||||
if old != nil and ((old - pos).abs > 32)
|
||||
if old != nil and ((old - pos).abs > 2000)
|
||||
raise "position set again #{pos}!=#{old} for #{self}"
|
||||
end
|
||||
cache_positions[self] = pos
|
||||
|
@ -24,7 +24,7 @@ module Register
|
||||
end
|
||||
|
||||
def reg_no
|
||||
@type.to_s[1 .. -1].to_i
|
||||
@symbol.to_s[1 .. -1].to_i
|
||||
end
|
||||
|
||||
def self.look_like_reg is_it
|
||||
|
Reference in New Issue
Block a user