Make labels work in asm blocks; allow labels as
[oota-llvm.git] / lib / Bitcode / Reader / BitcodeReader.h
index 2f61b06c60173f418d8d39501d9e3a1c43588b97..0655a1a91c2be875e5d7da5aac18472bca7c3748 100644 (file)
@@ -102,6 +102,11 @@ class BitcodeReader : public ModuleProvider {
   // When reading the module header, this list is populated with functions that
   // have bodies later in the file.
   std::vector<Function*> FunctionsWithBodies;
+
+  // When intrinsic functions are encountered which require upgrading they are 
+  // stored here with their replacement function.
+  typedef std::vector<std::pair<Function*, Function*> > UpgradedIntrinsicMap;
+  UpgradedIntrinsicMap UpgradedIntrinsics;
   
   // After the module header has been read, the FunctionsWithBodies list is 
   // reversed.  This keeps track of whether we've done this yet.