add a note, ya knoe
authorChris Lattner <sabre@nondot.org>
Wed, 1 Feb 2006 19:12:23 +0000 (19:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Feb 2006 19:12:23 +0000 (19:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25880 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmWriterEmitter.cpp

index e6ad2bcf81083c6d167e2785a9444f4e485557e6..14a1d3916fe193aa5bab2aec38a8cb9c157f9863 100644 (file)
@@ -96,6 +96,9 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) {
   this->CGI = &CGI;
   bool inVariant = false;  // True if we are inside a {.|.|.} region.
 
+  // NOTE: Any extensions to this code need to be mirrored in the 
+  // AsmPrinter::printInlineAsm code that executes as compile time (assuming
+  // that inline asm strings should also get the new feature)!
   const std::string &AsmString = CGI.AsmString;
   std::string::size_type LastEmitted = 0;
   while (LastEmitted != AsmString.size()) {