diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-18 19:22:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-18 19:22:36 +0000 |
commit | 893f025262574d01de5585d64860673e13d77ee5 (patch) | |
tree | 314557b23cee4925a65200875670c7966072df0b /lib/AsmParser/llvmAsmParser.y | |
parent | c500cf2fab4ffbac98894168b866f51e34e253f6 (diff) | |
download | external_llvm-893f025262574d01de5585d64860673e13d77ee5.zip external_llvm-893f025262574d01de5585d64860673e13d77ee5.tar.gz external_llvm-893f025262574d01de5585d64860673e13d77ee5.tar.bz2 |
Detemplatize the PATypeHandle class, which was only really instantiated on 'Type'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 8fd88ac..ca5b48d 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -816,7 +816,7 @@ UpRTypes : '\\' EUINT64VAL { // Type UpReference | UpRTypesV '(' ArgTypeListI ')' { // Function derived type? std::vector<const Type*> Params; mapto($3->begin(), $3->end(), std::back_inserter(Params), - std::mem_fun_ref(&PATypeHandle<Type>::get)); + std::mem_fun_ref(&PATypeHandle::get)); bool isVarArg = Params.size() && Params.back() == Type::VoidTy; if (isVarArg) Params.pop_back(); @@ -831,7 +831,7 @@ UpRTypes : '\\' EUINT64VAL { // Type UpReference | '{' TypeListI '}' { // Structure type? std::vector<const Type*> Elements; mapto($2->begin(), $2->end(), std::back_inserter(Elements), - std::mem_fun_ref(&PATypeHandle<Type>::get)); + std::mem_fun_ref(&PATypeHandle::get)); $$ = new PATypeHolder(HandleUpRefs(StructType::get(Elements))); delete $2; |