mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Sample Profiling - Remove useless asserts. NFC.
llvm-svn: 250513
This commit is contained in:
parent
1f396a29cd
commit
0de708fdb6
@ -215,12 +215,10 @@ public:
|
||||
void addHeadSamples(uint64_t Num) { TotalHeadSamples += Num; }
|
||||
void addBodySamples(uint32_t LineOffset, uint32_t Discriminator,
|
||||
uint64_t Num) {
|
||||
assert(LineOffset >= 0);
|
||||
BodySamples[LineLocation(LineOffset, Discriminator)].addSamples(Num);
|
||||
}
|
||||
void addCalledTargetSamples(uint32_t LineOffset, uint32_t Discriminator,
|
||||
std::string FName, uint64_t Num) {
|
||||
assert(LineOffset >= 0);
|
||||
BodySamples[LineLocation(LineOffset, Discriminator)].addCalledTarget(FName,
|
||||
Num);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user