summaryrefslogtreecommitdiff
path: root/utils/TableGen/AsmWriterEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-01 19:12:23 +0000
committerChris Lattner <sabre@nondot.org>2006-02-01 19:12:23 +0000
commit1cf9d961b2fc35c8ba67f20fd36c2b5fb51c9709 (patch)
tree0a517f4c1b9df6c30eb0080cdd70cbe69f5b4eea /utils/TableGen/AsmWriterEmitter.cpp
parentda06e9e665a1a94886541ed85e97315f58b357b0 (diff)
downloadllvm-1cf9d961b2fc35c8ba67f20fd36c2b5fb51c9709.tar.gz
llvm-1cf9d961b2fc35c8ba67f20fd36c2b5fb51c9709.tar.bz2
llvm-1cf9d961b2fc35c8ba67f20fd36c2b5fb51c9709.tar.xz
add a note, ya knoe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/AsmWriterEmitter.cpp')
-rw-r--r--utils/TableGen/AsmWriterEmitter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp
index e6ad2bcf81..14a1d3916f 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()) {