adding sources to register instructions

This commit is contained in:
Torsten Ruger
2015-07-27 12:13:39 +03:00
parent f91c9fabe8
commit 36f635f7c1
16 changed files with 55 additions and 47 deletions

View File

@ -12,7 +12,7 @@ module Register
def initialize source
@source = source
end
attr_reader :block , :source
attr_reader :source
# returns an array of registers (RegisterReferences) that this instruction uses.
# ie for r1 = r2 + r3