diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:26:24 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:26:24 -0600 |
commit | 7862478eef88d58d8da3c43663aa39bd4b604fc5 (patch) | |
tree | 09bf37b44cb164d03415e64b4d4c52cbccbd194a /src/mem/slicc/symbols/Type.py | |
parent | d3aebe1f91aa166329c8ee102fdcb2c9734fdceb (diff) | |
download | gem5-7862478eef88d58d8da3c43663aa39bd4b604fc5.tar.xz |
ruby: replace Time with Cycles in Message class
Concomitant changes are being committed as well, including the io operator<<
for the Cycles class.
Diffstat (limited to 'src/mem/slicc/symbols/Type.py')
-rw-r--r-- | src/mem/slicc/symbols/Type.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py index ee1b8102a..f40036e8e 100644 --- a/src/mem/slicc/symbols/Type.py +++ b/src/mem/slicc/symbols/Type.py @@ -246,7 +246,7 @@ $klass ${{self.c_ident}}$parent ''', klass="class") if self.isMessage: - code('(Time curTime) : %s(curTime) {' % self["interface"]) + code('(Cycles curTime) : %s(curTime) {' % self["interface"]) else: code('()\n\t\t{') @@ -291,7 +291,7 @@ $klass ${{self.c_ident}}$parent params = ', '.join(params) if self.isMessage: - params = "const Time curTime, " + params + params = "const Cycles curTime, " + params code('${{self.c_ident}}($params)') |