Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.47 -> 1.48
---
Log message:

Clean up.


---
Diffs of the changes:  (+4 -1)

 CodeEmitterGen.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.47 
llvm/utils/TableGen/CodeEmitterGen.cpp:1.48
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.47 Thu Jul 13 16:02:53 2006
+++ llvm/utils/TableGen/CodeEmitterGen.cpp      Thu Jul 13 17:17:08 2006
@@ -49,7 +49,10 @@
 }
 
 
-int CodeEmitterGen::getVariableBit(const std::string &VarName, BitsInit *BI, 
int bit){
+// If the VarBitInit at position 'bit' matches the specified variable then
+// return the variable bit position.  Otherwise return -1.
+int CodeEmitterGen::getVariableBit(const std::string &VarName,
+            BitsInit *BI, int bit) {
   if (VarBitInit *VBI = dynamic_cast<VarBitInit*>(BI->getBit(bit))) {
     TypedInit *TI = VBI->getVariable();
     



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to