diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-07 17:46:06 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-07 17:46:06 +0000 |
commit | c82251326986affba0224460552236ebfe3447c2 (patch) | |
tree | cd3ea2b1d4bc522e70ed1f9807d4c8e934fe293e | |
parent | f04e535f26ea689ad5d18a244cde8fd8e7bc3aaa (diff) | |
download | gem5-c82251326986affba0224460552236ebfe3447c2.tar.xz |
Add setData functions for the new Twin??_t types.
--HG--
extra : convert_revision : 6f4e08e76eb4a95eb08b11632f6e33ba458723b6
-rw-r--r-- | src/cpu/exetrace.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/exetrace.hh b/src/cpu/exetrace.hh index 0f642c08e..8c0fa22cb 100644 --- a/src/cpu/exetrace.hh +++ b/src/cpu/exetrace.hh @@ -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; } |