add volotiles in their classes

This commit is contained in:
Torsten Ruger 2014-08-26 11:50:43 +03:00
parent b4419fc438
commit a3a55aec08
2 changed files with 4 additions and 0 deletions

View File

@ -62,4 +62,5 @@ module Register
def link_Symbol sym , at def link_Symbol sym , at
end end
end end
Sof::Volotile.add(Register::Assembler , [:objects])
end end

View File

@ -7,5 +7,8 @@ module Sof
def self.attributes clazz def self.attributes clazz
@@mapping[clazz] || [] @@mapping[clazz] || []
end end
def self.add clazz , attributes
@@mapping[clazz] = attributes
end
end end
end end