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; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits