Fix the ::: problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-01-22 18:18:59 +00:00
parent 5765dba5ce
commit f11ad9ef46

View File

@ -204,7 +204,7 @@ void AsmWriterEmitter::run(std::ostream &O) {
for (unsigned i = 0, e = Instructions.size(); i != e; ++i) {
O << " case " << Namespace << "::"
<< Instructions[i].CGI->Name << ": ";
<< Instructions[i].CGI->TheDef->getName() << ": ";
Instructions[i].EmitCode(O);
O << " break;\n";
}