summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/ParserInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/AsmParser/ParserInternals.h')
-rw-r--r--llvm/lib/AsmParser/ParserInternals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/ParserInternals.h b/llvm/lib/AsmParser/ParserInternals.h
index 168d9baa3a0..8af27c77c33 100644
--- a/llvm/lib/AsmParser/ParserInternals.h
+++ b/llvm/lib/AsmParser/ParserInternals.h
@@ -152,6 +152,8 @@ struct ValID {
delete IAD;
else if (Type == ConstAPInt)
delete ConstPoolInt;
+ else if (Type == ConstFPVal)
+ delete ConstPoolFP;
}
inline ValID copy() const {
OpenPOWER on IntegriCloud