MachineAST.py (6714:028047200ff7) | MachineAST.py (6877:2a1a3d916ca8) |
---|---|
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; --- 29 unchanged lines hidden (view full) --- 38 self.decls = decls 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, | 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; --- 29 unchanged lines hidden (view full) --- 38 self.decls = decls 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, |
|
46 '%s_Profiler.cc' % self.ident, 47 '%s_Profiler.hh' % self.ident, 48 '%s_Transitions.cc' % self.ident, 49 '%s_Wakeup.cc' % self.ident)) 50 51 s |= self.decls.files(self.ident) 52 return s 53 --- 28 unchanged lines hidden --- | 47 '%s_Profiler.cc' % self.ident, 48 '%s_Profiler.hh' % self.ident, 49 '%s_Transitions.cc' % self.ident, 50 '%s_Wakeup.cc' % self.ident)) 51 52 s |= self.decls.files(self.ident) 53 return s 54 --- 28 unchanged lines hidden --- |