diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-10-15 13:21:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 13:21:42 +0000 |
| commit | 162ed4d6cc24d8cea022efcd4bffc704ab89bb7e (patch) | |
| tree | a84158df3c4a0ed20cc4baef5d1c0d216cb10589 /llvm/lib/AsmParser | |
| parent | acff5332817e41f9a03dc41985a9abaddc2fa6cb (diff) | |
| download | bcm5719-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/AsmParser')
| -rw-r--r-- | llvm/lib/AsmParser/llvmAsmParser.y | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/AsmParser/llvmAsmParser.y b/llvm/lib/AsmParser/llvmAsmParser.y index cc8c1b0b711..994c2233d2d 100644 --- a/llvm/lib/AsmParser/llvmAsmParser.y +++ b/llvm/lib/AsmParser/llvmAsmParser.y @@ -61,7 +61,7 @@ static struct PerModuleInfo { // GlobalRefs - This maintains a mapping between <Type, ValID>'s and forward // references to global values. Global values may be referenced before they // are defined, and if so, the temporary object that they represent is held - // here. This is used for forward references of ConstPoolPointerReferences. + // here. This is used for forward references of ConstPoolPointerRefs. // typedef map<pair<const PointerType *, ValID>, GlobalVariable*> GlobalRefsType; GlobalRefsType GlobalRefs; @@ -102,11 +102,11 @@ static struct PerModuleInfo { I->first.second.destroy(); // Free string memory if neccesary // 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"); // Change the const pool reference to point to the real global variable @@ -987,7 +987,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr } GlobalValue *GV = cast<GlobalValue>(V); - $$ = ConstPoolPointerReference::get(GV); + $$ = ConstPoolPointerRef::get(GV); delete $1; // Free the type handle } |

