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 | c18545dc9e5c8d98ea9089af8702a6cf563a8dfd (patch) | |
tree | 799d3124a0cdcfd27ed675e07adba38c3940fa68 /lib/VMCore/Linker.cpp | |
parent | 2a72820b43b94a4da0d51c1533b22ded37fc5c86 (diff) | |
download | external_llvm-c18545dc9e5c8d98ea9089af8702a6cf563a8dfd.zip external_llvm-c18545dc9e5c8d98ea9089af8702a6cf563a8dfd.tar.gz external_llvm-c18545dc9e5c8d98ea9089af8702a6cf563a8dfd.tar.bz2 |
Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Linker.cpp')
-rw-r--r-- | lib/VMCore/Linker.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/VMCore/Linker.cpp b/lib/VMCore/Linker.cpp index 9f36604..33acbb4 100644 --- a/lib/VMCore/Linker.cpp +++ b/lib/VMCore/Linker.cpp @@ -64,10 +64,9 @@ static Value *RemapOperand(const Value *In, map<const Value*, Value*> &LocalMap, Result = ConstPoolStruct::get(cast<StructType>(CPS->getType()), Operands); } else if (isa<ConstPoolPointerNull>(CPV)) { Result = CPV; - } else if (ConstPoolPointerReference *CPR = - dyn_cast<ConstPoolPointerReference>(CPV)) { + } else if (ConstPoolPointerRef *CPR = dyn_cast<ConstPoolPointerRef>(CPV)) { Value *V = RemapOperand(CPR->getValue(), LocalMap, GlobalMap); - Result = ConstPoolPointerReference::get(cast<GlobalValue>(V)); + Result = ConstPoolPointerRef::get(cast<GlobalValue>(V)); } else { assert(0 && "Unknown type of derived type constant value!"); } |