Cleanup of the [SU]ADDO type legalization code. Patch by Duncan!
[oota-llvm.git] / lib / AsmParser / ParserInternals.h
index 168d9baa3a020af097b85693db1a1fbc41bf7d5d..8af27c77c33a2c9e4cb7e6ef0b9858cf15180f7d 100644 (file)
@@ -152,6 +152,8 @@ struct ValID {
       delete IAD;
     else if (Type == ConstAPInt)
       delete ConstPoolInt;
+    else if (Type == ConstFPVal)
+      delete ConstPoolFP;
   }
 
   inline ValID copy() const {