diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp index c7cbe40d604..41b9b7eef92 100644 --- a/tools/llvm2cpp/CppWriter.cpp +++ b/tools/llvm2cpp/CppWriter.cpp @@ -1193,6 +1193,7 @@ CppWriter::printInstruction(const Instruction *I, const std::string& bbname) { break; } } + DefinedValues.insert(I); Out << "\n"; delete [] opNames; }