[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.h
Reid Spencer
reid at x10sys.com
Wed Jan 18 22:58:10 PST 2006
Changes in directory llvm/lib/Bytecode/Reader:
Reader.h updated: 1.25 -> 1.26
---
Log message:
Add a flag to identify bytecode files that have intrinsic functions that
need to be upgraded.
---
Diffs of the changes: (+7 -0)
Reader.h | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/lib/Bytecode/Reader/Reader.h
diff -u llvm/lib/Bytecode/Reader/Reader.h:1.25 llvm/lib/Bytecode/Reader/Reader.h:1.26
--- llvm/lib/Bytecode/Reader/Reader.h:1.25 Mon Oct 3 16:26:53 2005
+++ llvm/lib/Bytecode/Reader/Reader.h Thu Jan 19 00:57:58 2006
@@ -321,6 +321,12 @@
// 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 @@
/// @brief Handler for parsing events.
BytecodeHandler* Handler;
+
/// @}
/// @name Implementation Details
/// @{
More information about the llvm-commits
mailing list