diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-16 20:33:30 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-16 20:33:30 +0000 |
commit | 9af4859d1b4867901cf0e573e3b6d4a9d6d328dd (patch) | |
tree | 7e05acd52fd7ba6522575c295addfe6ac8ac424c /lib/profile/InstrProfiling.c | |
parent | ef33572212a3dd2d2f7d1984c25448fac20b21e1 (diff) |
[profile] minor code restructuring /NFC
This is one of the enabler patch to allow value profiler to
allocate counter statically.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfiling.c')
-rw-r--r-- | lib/profile/InstrProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfiling.c b/lib/profile/InstrProfiling.c index 1c1d85af9..c763a4423 100644 --- a/lib/profile/InstrProfiling.c +++ b/lib/profile/InstrProfiling.c @@ -61,7 +61,7 @@ COMPILER_RT_VISIBILITY void __llvm_profile_reset_counters(void) { ValueProfNode *CurrentVNode = ValueCounters[i]; while (CurrentVNode) { - CurrentVNode->VData.Count = 0; + CurrentVNode->Count = 0; CurrentVNode = CurrentVNode->Next; } } |