mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Remove the ValueMap operator=, which was wrong (it did't correct the
Map pointers of any contained ValueMapCallbackVH's) and unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99534bb81a
commit
fffe6cf084
@ -83,6 +83,7 @@ class ValueMap {
|
||||
MapT Map;
|
||||
ExtraData Data;
|
||||
ValueMap(const ValueMap&); // DO NOT IMPLEMENT
|
||||
ValueMap& operator=(const ValueMap&); // DO NOT IMPLEMENT
|
||||
public:
|
||||
typedef KeyT key_type;
|
||||
typedef ValueT mapped_type;
|
||||
@ -160,12 +161,6 @@ public:
|
||||
return Map[Wrap(Key)];
|
||||
}
|
||||
|
||||
ValueMap& operator=(const ValueMap& Other) {
|
||||
Map = Other.Map;
|
||||
Data = Other.Data;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// isPointerIntoBucketsArray - Return true if the specified pointer points
|
||||
/// somewhere into the ValueMap's array of buckets (i.e. either to a key or
|
||||
/// value in the ValueMap).
|
||||
|
Loading…
x
Reference in New Issue
Block a user