base.isa (5667:78b94954f66a) base.isa (5692:0d6addcde185)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// Redistribution and use of this software in source and binary forms,
7// with or without modification, are permitted provided that the
8// following conditions are met:

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

113
114 def getAllocator(self, mnemonic, *microFlags):
115 return 'new %s(machInst, %s)' % \
116 (self.className, mnemonic, self.microFlagsText(microFlags))
117
118 def getGeneratorDef(self, micropc):
119 return self.generatorTemplate % \
120 (self.className, micropc, \
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// Redistribution and use of this software in source and binary forms,
7// with or without modification, are permitted provided that the
8// following conditions are met:

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

113
114 def getAllocator(self, mnemonic, *microFlags):
115 return 'new %s(machInst, %s)' % \
116 (self.className, mnemonic, self.microFlagsText(microFlags))
117
118 def getGeneratorDef(self, micropc):
119 return self.generatorTemplate % \
120 (self.className, micropc, \
121 self.getAllocator(True, False, False, False))
121 self.getAllocator(True, True, False, False))
122
123 def getGenerator(self, micropc):
124 return self.generatorNameTemplate % (self.className, micropc)
125}};
122
123 def getGenerator(self, micropc):
124 return self.generatorNameTemplate % (self.className, micropc)
125}};