forked from OSchip/llvm-project
parent
f8dfb47c02
commit
9b656527f1
|
@ -177,6 +177,8 @@ struct VTableSlot {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
|
|
||||||
template <> struct DenseMapInfo<VTableSlot> {
|
template <> struct DenseMapInfo<VTableSlot> {
|
||||||
static VTableSlot getEmptyKey() {
|
static VTableSlot getEmptyKey() {
|
||||||
return {DenseMapInfo<Metadata *>::getEmptyKey(),
|
return {DenseMapInfo<Metadata *>::getEmptyKey(),
|
||||||
|
@ -196,6 +198,8 @@ template <> struct DenseMapInfo<VTableSlot> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// A virtual call site. VTable is the loaded virtual table pointer, and CS is
|
// A virtual call site. VTable is the loaded virtual table pointer, and CS is
|
||||||
|
|
Loading…
Reference in New Issue