summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-15 13:21:42 +0000
committerChris Lattner <sabre@nondot.org>2001-10-15 13:21:42 +0000
commit162ed4d6cc24d8cea022efcd4bffc704ab89bb7e (patch)
treea84158df3c4a0ed20cc4baef5d1c0d216cb10589 /llvm/lib/Bytecode/Writer/ConstantWriter.cpp
parentacff5332817e41f9a03dc41985a9abaddc2fa6cb (diff)
downloadbcm5719-llvm-162ed4d6cc24d8cea022efcd4bffc704ab89bb7e.tar.gz
bcm5719-llvm-162ed4d6cc24d8cea022efcd4bffc704ab89bb7e.zip
Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much
llvm-svn: 822
Diffstat (limited to 'llvm/lib/Bytecode/Writer/ConstantWriter.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/ConstantWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
index 8a252dd251f..4400290328a 100644
--- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -145,8 +145,8 @@ bool BytecodeWriter::outputConstant(const ConstPoolVal *CPV) {
const ConstPoolPointer *CPP = cast<const ConstPoolPointer>(CPV);
if (isa<ConstPoolPointerNull>(CPP)) {
output_vbr((unsigned)0, Out);
- } else if (const ConstPoolPointerReference *CPR =
- dyn_cast<ConstPoolPointerReference>(CPP)) {
+ } else if (const ConstPoolPointerRef *CPR =
+ dyn_cast<ConstPoolPointerRef>(CPP)) {
output_vbr((unsigned)1, Out);
int Slot = Table.getValSlot((Value*)CPR->getValue());
assert(Slot != -1 && "Global used but not available!!");
OpenPOWER on IntegriCloud