mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
Use DenseMap as SmallMap workaround rather than std::map, at Chandler's request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac071eac30
commit
5f9e4c1189
@ -485,7 +485,7 @@ static bool LinearizeExprTree(BinaryOperator *I,
|
||||
|
||||
// Leaves - Keeps track of the set of putative leaves as well as the number of
|
||||
// paths to each leaf seen so far.
|
||||
typedef std::map<Value*, APInt> LeafMap;
|
||||
typedef DenseMap<Value*, APInt> LeafMap;
|
||||
LeafMap Leaves; // Leaf -> Total weight so far.
|
||||
SmallVector<Value*, 8> LeafOrder; // Ensure deterministic leaf output order.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user