Add isExtractSubreg property.
[oota-llvm.git] / utils / TableGen / AsmWriterEmitter.cpp
index c7fe9dfd685f32910b4691e3b96f28612388378f..7ef70d31b69356e9fe63d6c155d614c212e38d10 100644 (file)
@@ -424,7 +424,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
   }
 
   // Emit the string itself.
-  O << "  const char AsmStrs[] = {\n";
+  O << "  static const char AsmStrs[] = {\n";
   StringTable.emit(O, printChar);
   O << "  };\n\n";