From 1cf9d961b2fc35c8ba67f20fd36c2b5fb51c9709 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 1 Feb 2006 19:12:23 +0000 Subject: [PATCH] add a note, ya knoe git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25880 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/AsmWriterEmitter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index e6ad2bcf810..14a1d3916fe 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -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()) {