[PGO] Use new macro introduced/NFC

llvm-svn: 257147
This commit is contained in:
Xinliang David Li 2016-01-08 06:03:19 +00:00
parent 6d464151a6
commit bfb5d7c71b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ __llvm_profile_instrument_target(uint64_t TargetValue, void *Data,
++VDataCount;
}
if (VDataCount >= UCHAR_MAX)
if (VDataCount >= INSTR_PROF_MAX_NUM_VAL_PER_SITE)
return;
CurrentVNode = (ValueProfNode *)calloc(1, sizeof(ValueProfNode));