summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.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/Reader/Reader.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/Reader/Reader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp
index 5cb20790b91..80e048a5998 100644
--- a/llvm/lib/Bytecode/Reader/Reader.cpp
+++ b/llvm/lib/Bytecode/Reader/Reader.cpp
@@ -217,7 +217,7 @@ bool BytecodeParser::ParseSymbolTable(const uchar *&Buf, const uchar *EndBuf,
}
// DeclareNewGlobalValue - Patch up forward references to global values in the
-// form of ConstPoolPointerReferences.
+// form of ConstPoolPointerRef.
//
void BytecodeParser::DeclareNewGlobalValue(GlobalValue *GV, unsigned Slot) {
// Check to see if there is a forward reference to this global variable...
@@ -229,11 +229,11 @@ void BytecodeParser::DeclareNewGlobalValue(GlobalValue *GV, unsigned Slot) {
BCR_TRACE(3, "Mutating CPPR Forward Ref!\n");
// Loop over all of the uses of the GlobalValue. The only thing they are
- // allowed to be at this point is ConstPoolPointerReference's.
+ // allowed to be at this point is ConstPoolPointerRef's.
assert(OldGV->use_size() == 1 && "Only one reference should exist!");
while (!OldGV->use_empty()) {
- User *U = OldGV->use_back(); // Must be a ConstPoolPointerReference...
- ConstPoolPointerReference *CPPR = cast<ConstPoolPointerReference>(U);
+ User *U = OldGV->use_back(); // Must be a ConstPoolPointerRef...
+ ConstPoolPointerRef *CPPR = cast<ConstPoolPointerRef>(U);
assert(CPPR->getValue() == OldGV && "Something isn't happy");
BCR_TRACE(4, "Mutating Forward Ref!\n");
OpenPOWER on IntegriCloud