X86: Get rid of the unused getAllocator on the python base microop class.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 23 Aug 2010 01:24:09 +0000 (18:24 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 23 Aug 2010 01:24:09 +0000 (18:24 -0700)
This function is always overridden, and doesn't actually have the right
signature.

src/arch/x86/isa/microops/base.isa

index 12bd7b6a5814d20afad195e43fecd819164f0fc2..2f8e04ab792089d039965213b1421374d164ca1f 100644 (file)
@@ -93,10 +93,6 @@ let {{
                 text += ", %s" % self.cppBool(val)
             return text
 
-        def getAllocator(self, mnemonic, *microFlags):
-            return 'new %s(machInst, %s)' % \
-                (self.className, mnemonic, self.microFlagsText(microFlags))
-
         def getGeneratorDef(self, micropc):
             return self.generatorTemplate % \
                 (self.className, micropc, \