mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
The patchpoint lowering logic would crash with live constants equal to
the tombstone or empty keys of a DenseMap<int64_t, T>. This patch fixes the issue (and adds a tests case). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221214 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -142,7 +142,7 @@ private:
|
||||
|
||||
typedef SmallVector<Location, 8> LocationVec;
|
||||
typedef SmallVector<LiveOutReg, 8> LiveOutVec;
|
||||
typedef MapVector<int64_t, int64_t> ConstantPool;
|
||||
typedef MapVector<uint64_t, uint64_t> ConstantPool;
|
||||
typedef MapVector<const MCSymbol *, uint64_t> FnStackSizeMap;
|
||||
|
||||
struct CallsiteInfo {
|
||||
|
Reference in New Issue
Block a user