aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/ParserInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-26 18:54:16 +0000
committerChris Lattner <sabre@nondot.org>2001-11-26 18:54:16 +0000
commitdda719665ba2ffd2eb1c32a0d2daa3921448db7c (patch)
tree82c3acad6b6ca7656fe6ee0e2f0df3fe2a11e63a /lib/AsmParser/ParserInternals.h
parenta2eb259c6b86d6daec58af70402a075272750cc2 (diff)
Implement support for internal methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/ParserInternals.h')
-rw-r--r--lib/AsmParser/ParserInternals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AsmParser/ParserInternals.h b/lib/AsmParser/ParserInternals.h
index fe422d0744..0f25f5461d 100644
--- a/lib/AsmParser/ParserInternals.h
+++ b/lib/AsmParser/ParserInternals.h
@@ -174,7 +174,8 @@ struct BBPlaceHolderHelper : public BasicBlock {
};
struct MethPlaceHolderHelper : public Method {
- MethPlaceHolderHelper(const Type *Ty) : Method(cast<const MethodType>(Ty)) {}
+ MethPlaceHolderHelper(const Type *Ty) : Method(cast<const MethodType>(Ty),
+ true) {}
};
typedef PlaceholderValue<InstPlaceHolderHelper> ValuePlaceHolder;