lift the nodes out of the parser

This commit is contained in:
Torsten Ruger
2014-04-16 12:03:39 +03:00
parent 1564f9b439
commit 69b0f7a0e3
8 changed files with 103 additions and 89 deletions

View File

@@ -29,7 +29,7 @@ module Asm
# Build representation for source value
def build_operand(arg)
if (arg.is_a?(Asm::Parser::RegisterListArgNode))
if (arg.is_a?(Asm::RegisterListArgNode))
@operand = 0
arg.registers.each do |reg_node|
reg = reg_ref(reg_node)