[PGO] Use common definition of value profile kind

Replace duplicate definition value profile kind definitions
 with common definition in InstrProfData.inc.

llvm-svn: 253890
This commit is contained in:
Xinliang David Li 2015-11-23 17:43:10 +00:00
parent ac99e28a6b
commit 5c7fa27b00
1 changed files with 2 additions and 3 deletions
compiler-rt/lib/profile

View File

@ -48,9 +48,8 @@ typedef unsigned long int uintptr_t;
#include "InstrProfData.inc"
enum ValueKind {
IPVK_IndirectCallTarget = 0,
IPVK_First = IPVK_IndirectCallTarget,
IPVK_Last = IPVK_IndirectCallTarget
#define VALUE_PROF_KIND(Enumerator, Value) Enumerator = Value,
#include "InstrProfData.inc"
};
typedef void *IntPtrT;