[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Reid Spencer
reid at x10sys.com
Thu Jun 15 09:10:24 PDT 2006
Changes in directory llvm/tools/llvm2cpp:
CppWriter.cpp updated: 1.12 -> 1.13
---
Log message:
Actually add instructions to the list of defined values so it gets
recognized as such! This prevents the CppWriter from treating every
operand as a forward reference and making a mess of the output.
---
Diffs of the changes: (+1 -0)
CppWriter.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/tools/llvm2cpp/CppWriter.cpp
diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.12 llvm/tools/llvm2cpp/CppWriter.cpp:1.13
--- llvm/tools/llvm2cpp/CppWriter.cpp:1.12 Thu Jun 1 18:43:47 2006
+++ llvm/tools/llvm2cpp/CppWriter.cpp Thu Jun 15 11:09:59 2006
@@ -1193,6 +1193,7 @@
break;
}
}
+ DefinedValues.insert(I);
Out << "\n";
delete [] opNames;
}
More information about the llvm-commits
mailing list