diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-06-17 18:19:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-06-17 18:19:28 +0000 |
| commit | 6b7275996c78e50ca8b7d13625296b92d74b86c7 (patch) | |
| tree | 75817e19a6f0bb380bf1a9ba39f0664076fb5705 /llvm/lib/Target/X86/Printer.cpp | |
| parent | 97bfcea262bbdeba8f8d468ff999008a4c448474 (diff) | |
| download | bcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.tar.gz bcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.zip | |
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
llvm-svn: 14201
Diffstat (limited to 'llvm/lib/Target/X86/Printer.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/Printer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index cbc4aeacf56..2a9ba83b4ed 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp @@ -285,7 +285,7 @@ void Printer::emitGlobalConstant(const Constant *CV) { // FP Constants are printed as integer constants to avoid losing // precision... double Val = CFP->getValue(); - switch (CFP->getType()->getPrimitiveID()) { + switch (CFP->getType()->getTypeID()) { default: assert(0 && "Unknown floating point type!"); case Type::FloatTyID: { union FU { // Abide by C TBAA rules @@ -310,7 +310,7 @@ void Printer::emitGlobalConstant(const Constant *CV) { const Type *type = CV->getType(); O << "\t"; - switch (type->getPrimitiveID()) { + switch (type->getTypeID()) { case Type::BoolTyID: case Type::UByteTyID: case Type::SByteTyID: O << ".byte"; break; |

