sal: allow register sets to overlap

This allows a register to be a member of multiple UniformRegisterSets.
Needed to architecture-specifically store, e.g., a list of registers to
record in traces.

Change-Id: Ia5d20768540efe252a84df967d43e569f107da3a
This commit is contained in:
Horst Schirmeier
2013-08-23 10:39:30 +02:00
parent ff1ceeddac
commit 52723a874e
6 changed files with 33 additions and 56 deletions

View File

@ -73,7 +73,7 @@ protected:
* @param reg a pointer to the register object to be added
* @see getType()
*/
void m_addRegister(Register* reg);
void m_addRegister(Register* reg, RegisterType type = RT_NONE);
};
} // end-of-namespace: fail