summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-12-04 00:03:30 +0000
committerChris Lattner <sabre@nondot.org>2001-12-04 00:03:30 +0000
commit2413b160ecebcde87c4dbfc627f000d0b317d34a (patch)
tree7c034b4efd8ec6bb8256d427fa2900cdf701e75f /llvm/lib/Bytecode/Writer/ConstantWriter.cpp
parent3462ae3ad7944394d0e9b82be222a43a26ca289a (diff)
downloadbcm5719-llvm-2413b160ecebcde87c4dbfc627f000d0b317d34a.tar.gz
bcm5719-llvm-2413b160ecebcde87c4dbfc627f000d0b317d34a.zip
Renamed inst_const_iterator -> const_inst_iterator
Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
Diffstat (limited to 'llvm/lib/Bytecode/Writer/ConstantWriter.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/ConstantWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
index 835ef9850b4..0700a2e63e7 100644
--- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -74,7 +74,7 @@ void BytecodeWriter::outputType(const Type *T) {
case Type::PointerTyID: {
const PointerType *PT = cast<const PointerType>(T);
- int Slot = Table.getValSlot(PT->getValueType());
+ int Slot = Table.getValSlot(PT->getElementType());
assert(Slot != -1 && "Type used but not available!!");
output_vbr((unsigned)Slot, Out);
break;
OpenPOWER on IntegriCloud