forked from OSchip/llvm-project
[NFC] Remove ::kForTest from AP64, it does not use it.
llvm-svn: 359323
This commit is contained in:
parent
60f5df948b
commit
efc94feef9
|
@ -59,7 +59,7 @@ struct AP64 { // Allocator Params. Short name for shorter demangled names..
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef ::SizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -70,7 +70,7 @@ struct AP64Dyn {
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef ::SizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -81,7 +81,7 @@ struct AP64Compact {
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef CompactSizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -92,7 +92,7 @@ struct AP64VeryCompact {
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef VeryCompactSizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -103,7 +103,7 @@ struct AP64Dense {
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef DenseSizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -439,7 +439,7 @@ struct AP64WithCallback {
|
|||
static const uptr kMetadataSize = 16;
|
||||
typedef ::SizeClassMap SizeClassMap;
|
||||
typedef TestMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
@ -1040,7 +1040,7 @@ struct AP64_SpecialSizeClassMap {
|
|||
static const uptr kMetadataSize = 0;
|
||||
typedef SpecialSizeClassMap SizeClassMap;
|
||||
typedef NoOpMapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = AddressSpaceViewTy;
|
||||
};
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ struct AP64 { // Allocator64 parameters. Deliberately using a short name.
|
|||
static const uptr kMetadataSize = 0;
|
||||
typedef DefaultSizeClassMap SizeClassMap;
|
||||
typedef __tsan::MapUnmapCallback MapUnmapCallback;
|
||||
static const uptr kFlags = SizeClassAllocator32FlagMasks::kForTest;
|
||||
static const uptr kFlags = 0;
|
||||
using AddressSpaceView = LocalAddressSpaceView;
|
||||
};
|
||||
typedef SizeClassAllocator64<AP64> PrimaryAllocator;
|
||||
|
|
Loading…
Reference in New Issue