llvm-6502/lib/VMCore
Jeffrey Yasskin 81cf432569 Fix DenseMap iterator constness.
This patch forbids implicit conversion of DenseMap::const_iterator to
DenseMap::iterator which was possible because DenseMapIterator inherited
(publicly) from DenseMapConstIterator. Conversion the other way around is now
allowed as one may expect.

The template DenseMapConstIterator is removed and the template parameter
IsConst which specifies whether the iterator is constant is added to
DenseMapIterator.

Actually IsConst parameter is not necessary since the constness can be
determined from KeyT but this is not relevant to the fix and can be addressed
later.

Patch by Victor Zverovich!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86636 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10 01:02:17 +00:00
..
AsmWriter.cpp Revert 85678/85680. The decision is to stay with the current form of 2009-11-01 01:27:45 +00:00
Attributes.cpp
AutoUpgrade.cpp
BasicBlock.cpp Revert 85678/85680. The decision is to stay with the current form of 2009-11-01 01:27:45 +00:00
CMakeLists.txt
ConstantFold.cpp Previously, all operands to Constant were themselves constant. 2009-10-28 05:14:34 +00:00
ConstantFold.h
Constants.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
ConstantsContext.h remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
Core.cpp Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
Dominators.cpp
Function.cpp when we tear down a module, we need to be careful to 2009-10-28 03:37:35 +00:00
Globals.cpp remove a bunch of extraneous LLVMContext arguments 2009-11-06 04:27:31 +00:00
InlineAsm.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Instruction.cpp Changes requested (avoid getFunction(), avoid Type creation via isVoidTy(), and avoid redundant isFreeCall cases) in feedback to r85176 2009-11-03 20:39:35 +00:00
Instructions.cpp make this handle redefinition of malloc with different prototype correctly. 2009-11-09 07:12:01 +00:00
IntrinsicInst.cpp
LeakDetector.cpp remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
LeaksContext.h remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
LLVMContext.cpp
LLVMContextImpl.h remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
Makefile
Mangler.cpp
Metadata.cpp Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
Module.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
ModuleProvider.cpp
Pass.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
PassManager.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
PrintModulePass.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
SymbolTableListTraitsImpl.h
Type.cpp remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
TypesContext.h
TypeSymbolTable.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Use.cpp
Value.cpp remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
ValueSymbolTable.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
ValueTypes.cpp
Verifier.cpp the verifier shouldn't modify the IR. 2009-11-01 18:11:50 +00:00