mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[RuntimeDyld] Avoid unused-private-field warning; NFC
Fixes the no asserts -Werror,-Wunused-private-field build. llvm-svn: 253933
This commit is contained in:
parent
77556924fd
commit
ec2e5ad60c
@ -82,7 +82,11 @@ public:
|
||||
size_t allocationSize, uintptr_t objAddress)
|
||||
: Name(name), Address(address), Size(size),
|
||||
LoadAddress(reinterpret_cast<uintptr_t>(address)), StubOffset(size),
|
||||
AllocationSize(allocationSize), ObjAddress(objAddress) {}
|
||||
AllocationSize(allocationSize), ObjAddress(objAddress) {
|
||||
// AllocationSize is used only in asserts, prevent an "unused private field"
|
||||
// warning:
|
||||
(void)AllocationSize;
|
||||
}
|
||||
|
||||
StringRef getName() const { return Name; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user