assemble.c: use is_class helper
commit8a6345ca47af16f8657e55282e1c84e4b8e4e96b
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 13 Oct 2009 15:05:31 +0000 (13 19:05 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Tue, 13 Oct 2009 15:41:49 +0000 (13 19:41 +0400)
treeff7afed553fd403466061ed18634ea8cdf976baa
parent1985416b0ba9e482404b3804977a745c791ab672
assemble.c: use is_class helper

is_class does not checking flags "strictly". Which means
it may fail if type is specified to REGMEM and you check for
is_class(MEMORY, ...).

Anyway in current patch we check for REGISTER which doesn't
overlap and it is safe to use is_class here.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
assemble.c