diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-01-19 06:57:58 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-01-19 06:57:58 +0000 |
commit | 7e63a456a0bae781a9c7d7036fd11594de417359 (patch) | |
tree | 1df7c48413118571b2891b574564a053fffc852b /llvm/lib/Bytecode | |
parent | 91007126c2f320e3d2a35504b494e7e9ec2e3094 (diff) | |
download | bcm5719-llvm-7e63a456a0bae781a9c7d7036fd11594de417359.tar.gz bcm5719-llvm-7e63a456a0bae781a9c7d7036fd11594de417359.zip |
Add a flag to identify bytecode files that have intrinsic functions that
need to be upgraded.
llvm-svn: 25445
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r-- | llvm/lib/Bytecode/Reader/Reader.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.h b/llvm/lib/Bytecode/Reader/Reader.h index df0ddca7472..25410838d34 100644 --- a/llvm/lib/Bytecode/Reader/Reader.h +++ b/llvm/lib/Bytecode/Reader/Reader.h @@ -321,6 +321,12 @@ private: // unreachable instruction. bool hasNoUnreachableInst; + /// In release 1.7 we changed intrinsic functions to not be overloaded. There + /// is no bytecode change for this, but to optimize the auto-upgrade of calls + /// to intrinsic functions, we set this flag to identify when a module has + /// been read that contains intrinsics that were upgraded. + bool hasUpgradedIntrinsicFunctions; + /// CompactionTypes - If a compaction table is active in the current function, /// this is the mapping that it contains. We keep track of what resolved type /// it is as well as what global type entry it is. @@ -389,6 +395,7 @@ private: /// @brief Handler for parsing events. BytecodeHandler* Handler; + /// @} /// @name Implementation Details /// @{ |