mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
Patches towards fixing PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -273,7 +273,7 @@ std::ostream &CWriter::printType(std::ostream &Out, const Type *Ty,
|
||||
case Type::FloatTyID: return Out << "float " << NameSoFar;
|
||||
case Type::DoubleTyID: return Out << "double " << NameSoFar;
|
||||
default :
|
||||
std::cerr << "Unknown primitive type: " << Ty << "\n";
|
||||
std::cerr << "Unknown primitive type: " << *Ty << "\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
@ -517,7 +517,7 @@ void CWriter::printConstant(Constant *CPV) {
|
||||
|
||||
default:
|
||||
std::cerr << "CWriter Error: Unhandled constant expression: "
|
||||
<< CE << "\n";
|
||||
<< *CE << "\n";
|
||||
abort();
|
||||
}
|
||||
}
|
||||
@ -626,7 +626,7 @@ void CWriter::printConstant(Constant *CPV) {
|
||||
}
|
||||
// FALL THROUGH
|
||||
default:
|
||||
std::cerr << "Unknown constant type: " << CPV << "\n";
|
||||
std::cerr << "Unknown constant type: " << *CPV << "\n";
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user