mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +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();
|
void construct();
|
||||||
|
|
||||||
struct Range {
|
struct Range {
|
||||||
explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
|
explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset)
|
||||||
uint64_t CUOffset = -1ULL)
|
|
||||||
: LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
|
: LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
|
||||||
|
|
||||||
void setHighPC(uint64_t HighPC) {
|
void setHighPC(uint64_t HighPC) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user