From d84d35ba70296aca01d3c48ab9088b0515619fd9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 15 Feb 2007 02:26:10 +0000 Subject: For PR1195: Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 --- llvm/lib/Bytecode/Writer/Writer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp') diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index 78d628343e7..de15267d5ca 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -242,8 +242,8 @@ void BytecodeWriter::outputType(const Type *T) { break; } - case Type::PackedTyID: { - const PackedType *PT = cast(T); + case Type::VectorTyID: { + const VectorType *PT = cast(T); output_typeid(Table.getTypeSlot(PT->getElementType())); output_vbr(PT->getNumElements()); break; @@ -326,8 +326,8 @@ void BytecodeWriter::outputConstant(const Constant *CPV) { break; } - case Type::PackedTyID: { - const ConstantPacked *CP = cast(CPV); + case Type::VectorTyID: { + const ConstantVector *CP = cast(CPV); for (unsigned i = 0, e = CP->getNumOperands(); i != e; ++i) output_vbr(Table.getSlot(CP->getOperand(i))); break; -- cgit v1.2.3