mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[DebugInfo] Simplify the constructor of DWARFDebugAranges::Range. NFC.
This removes the default values of the arguments. The only caller, DWARFDebugAranges::construct(), provides all three parameters. Differential Revision: https://reviews.llvm.org/D72757
This commit is contained in:
parent
da61486b44
commit
f87be52260
@ -32,8 +32,7 @@ private:
|
||||
void construct();
|
||||
|
||||
struct Range {
|
||||
explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
|
||||
uint64_t CUOffset = -1ULL)
|
||||
explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset)
|
||||
: LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
|
||||
|
||||
void setHighPC(uint64_t HighPC) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user