diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-13 23:46:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-13 23:46:46 +0000 |
commit | ca1bafda1d72e1ef909cb8a7b1ca74e283ffea99 (patch) | |
tree | 5d887fc574e858e84886030b93030ac9535a55c9 /lib/Target/MSIL/MSILWriter.h | |
parent | 6dea8d31d33eb855bf42ba69bf0e8e0eb0d43b0c (diff) |
fix CBE & MSIL backends to not use the mangler for non-global symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL/MSILWriter.h')
-rw-r--r-- | lib/Target/MSIL/MSILWriter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/MSIL/MSILWriter.h b/lib/Target/MSIL/MSILWriter.h index 45f5579bfb..2ef8a85d2b 100644 --- a/lib/Target/MSIL/MSILWriter.h +++ b/lib/Target/MSIL/MSILWriter.h @@ -85,7 +85,11 @@ namespace { StaticInitList; const std::set<const Type *>* UsedTypes; static char ID; - MSILWriter(raw_ostream &o) : FunctionPass(&ID), Out(o) { + DenseMap<const Value*, unsigned> AnonValueNumbers; + unsigned NextAnonValueNumber; + + MSILWriter(raw_ostream &o) + : FunctionPass(&ID), Out(o), NextAnonValueNumber(0) { UniqID = 0; } |