aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm2cpp/CppWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm2cpp/CppWriter.cpp')
-rw-r--r--tools/llvm2cpp/CppWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp
index c7cbe40..41b9b7e 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;
}