aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-01-19 06:57:58 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-01-19 06:57:58 +0000
commit3e59546352b1d489078683c995ad64a5176cbe62 (patch)
treecd8015ce4e26c270248ced97e8799ef7847f1048 /lib/Bytecode
parent41b6dc8dbe4a45a6c259735fd163a532f78f26ec (diff)
downloadexternal_llvm-3e59546352b1d489078683c995ad64a5176cbe62.zip
external_llvm-3e59546352b1d489078683c995ad64a5176cbe62.tar.gz
external_llvm-3e59546352b1d489078683c995ad64a5176cbe62.tar.bz2
Add a flag to identify bytecode files that have intrinsic functions that
need to be upgraded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/Reader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h
index df0ddca..2541083 100644
--- a/lib/Bytecode/Reader/Reader.h
+++ b/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
/// @{