MachineAST.py (9298:9a087e046c58) MachineAST.py (9745:884ad4638236)
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 30 unchanged lines hidden (view full) ---

39
40 def __repr__(self):
41 return "[Machine: %r]" % self.ident
42
43 def files(self, parent=None):
44 s = set(('%s_Controller.cc' % self.ident,
45 '%s_Controller.hh' % self.ident,
46 '%s_Controller.py' % self.ident,
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 30 unchanged lines hidden (view full) ---

39
40 def __repr__(self):
41 return "[Machine: %r]" % self.ident
42
43 def files(self, parent=None):
44 s = set(('%s_Controller.cc' % self.ident,
45 '%s_Controller.hh' % self.ident,
46 '%s_Controller.py' % self.ident,
47 '%s_Profiler.cc' % self.ident,
48 '%s_Profiler.hh' % self.ident,
49 '%s_ProfileDumper.cc' % self.ident,
50 '%s_ProfileDumper.hh' % self.ident,
51 '%s_Transitions.cc' % self.ident,
52 '%s_Wakeup.cc' % self.ident))
53
54 s |= self.decls.files(self.ident)
55 return s
56
57 def generate(self):
58 # Make a new frame

--- 26 unchanged lines hidden ---
47 '%s_Transitions.cc' % self.ident,
48 '%s_Wakeup.cc' % self.ident))
49
50 s |= self.decls.files(self.ident)
51 return s
52
53 def generate(self):
54 # Make a new frame

--- 26 unchanged lines hidden ---