summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/WriterInternals.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-05 20:47:22 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-05 20:47:22 +0000
commit3aaaa0b2bd3825580647b7e0ee5045a8e32e0413 (patch)
tree2ca99bb6046e1441bf5af80fc1dff176ddc79a8c /llvm/lib/Bytecode/Writer/WriterInternals.h
parente84cf921412069284266f02e8aa3fa18ca315e25 (diff)
downloadbcm5719-llvm-3aaaa0b2bd3825580647b7e0ee5045a8e32e0413.tar.gz
bcm5719-llvm-3aaaa0b2bd3825580647b7e0ee5045a8e32e0413.zip
For PR411:
This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
Diffstat (limited to 'llvm/lib/Bytecode/Writer/WriterInternals.h')
-rw-r--r--llvm/lib/Bytecode/Writer/WriterInternals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/WriterInternals.h b/llvm/lib/Bytecode/Writer/WriterInternals.h
index c518c01b94f..f3c59f32880 100644
--- a/llvm/lib/Bytecode/Writer/WriterInternals.h
+++ b/llvm/lib/Bytecode/Writer/WriterInternals.h
@@ -26,6 +26,7 @@
namespace llvm {
class InlineAsm;
class TypeSymbolTable;
+ class ValueSymbolTable;
class BytecodeWriter {
std::vector<unsigned char> &Out;
@@ -66,7 +67,7 @@ private:
void outputModuleInfoBlock(const Module *C);
void outputTypeSymbolTable(const TypeSymbolTable &TST);
- void outputValueSymbolTable(const SymbolTable &ST);
+ void outputValueSymbolTable(const ValueSymbolTable &ST);
void outputTypes(unsigned StartNo);
void outputConstantsInPlane(const std::vector<const Value*> &Plane,
unsigned StartNo);
OpenPOWER on IntegriCloud