diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-24 00:16:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-24 00:16:04 +0000 |
commit | 2edd22b959f0d8f897cce397730a881c708e474a (patch) | |
tree | e6f2e618dcd76708673e09f4cbf685327a09e7dd /lib/Bitcode/Writer/ValueEnumerator.cpp | |
parent | 00d56b96e599acbc4f895e86e17029ae7c45f142 (diff) |
Emit module-level constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.cpp')
-rw-r--r-- | lib/Bitcode/Writer/ValueEnumerator.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/ValueEnumerator.cpp b/lib/Bitcode/Writer/ValueEnumerator.cpp index 75a8c6d6d3..f4b7a76015 100644 --- a/lib/Bitcode/Writer/ValueEnumerator.cpp +++ b/lib/Bitcode/Writer/ValueEnumerator.cpp @@ -56,9 +56,12 @@ ValueEnumerator::ValueEnumerator(const Module *M) { // FIXME: std::partition the type and value tables so that first-class types - // come earlier than aggregates. + // come earlier than aggregates. FIXME: Emit a marker into the module + // indicating which aggregates types AND values can be dropped form the table. // FIXME: Sort type/value tables by frequency. + + // FIXME: Sort constants by type to reduce size. } /// EnumerateTypeSymbolTable - Insert all of the types in the specified symbol |