Add setData functions for the new Twin??_t types.
--HG-- extra : convert_revision : 6f4e08e76eb4a95eb08b11632f6e33ba458723b6
This commit is contained in:
parent
f04e535f26
commit
c822513269
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ class InstRecord
|
|||
|
||||
void setAddr(Addr a) { addr = a; addr_valid = true; }
|
||||
|
||||
void setData(Twin64_t d) { data.as_int = d.a; data_status = DataInt64; }
|
||||
void setData(Twin32_t d) { data.as_int = d.a; data_status = DataInt32; }
|
||||
void setData(uint64_t d) { data.as_int = d; data_status = DataInt64; }
|
||||
void setData(uint32_t d) { data.as_int = d; data_status = DataInt32; }
|
||||
void setData(uint16_t d) { data.as_int = d; data_status = DataInt16; }
|
||||
|
|
Loading…
Reference in a new issue