[llvm-commits] CVS: llvm/utils/TableGen/AsmWriterEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 1 11:12:35 PST 2006



Changes in directory llvm/utils/TableGen:

AsmWriterEmitter.cpp updated: 1.24 -> 1.25
---
Log message:

add a note, ya knoe


---
Diffs of the changes:  (+3 -0)

 AsmWriterEmitter.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/utils/TableGen/AsmWriterEmitter.cpp
diff -u llvm/utils/TableGen/AsmWriterEmitter.cpp:1.24 llvm/utils/TableGen/AsmWriterEmitter.cpp:1.25
--- llvm/utils/TableGen/AsmWriterEmitter.cpp:1.24	Thu Jan 26 20:10:50 2006
+++ llvm/utils/TableGen/AsmWriterEmitter.cpp	Wed Feb  1 13:12:23 2006
@@ -96,6 +96,9 @@
   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()) {






More information about the llvm-commits mailing list