Change the default of AsmWriterClassName and isMCAsmWriter.
[oota-llvm.git] / include / llvm / Target / Target.td
index 8871c5714c5c873cc1ffabb5f5a198953f39d9e5..b592edcf3c3ab630c3efd75997a5e5a2e7328794 100644 (file)
@@ -949,7 +949,7 @@ class AsmWriter {
   // AsmWriterClassName - This specifies the suffix to use for the asmwriter
   // class.  Generated AsmWriter classes are always prefixed with the target
   // name.
-  string AsmWriterClassName  = "AsmPrinter";
+  string AsmWriterClassName  = "InstPrinter";
 
   // Variant - AsmWriters can be of multiple different variants.  Variants are
   // used to support targets that need to emit assembly code in ways that are
@@ -973,7 +973,7 @@ class AsmWriter {
   // isMCAsmWriter - Is this assembly writer for an MC emitter? This controls
   // generation of the printInstruction() method. For MC printers, it takes
   // an MCInstr* operand, otherwise it takes a MachineInstr*.
-  bit isMCAsmWriter = 0;
+  bit isMCAsmWriter = 1;
 }
 def DefaultAsmWriter : AsmWriter;