diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 16:51:46 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 16:51:46 +0000 |
commit | 6e72e2a6e99f825688a3beb76f1295fb60b65f07 (patch) | |
tree | 86bbefb932666dad7b6fb2dd376f902d2c2dd8dc /llvm/runtime/libprofile/BlockProfiling.c | |
parent | 8c22ece232a784bf4fad970df9dcad740219de76 (diff) | |
download | bcm5719-llvm-6e72e2a6e99f825688a3beb76f1295fb60b65f07.tar.gz bcm5719-llvm-6e72e2a6e99f825688a3beb76f1295fb60b65f07.zip |
Constants for profile info type changed names to match the C++ ones.
Edited comments.
llvm-svn: 13343
Diffstat (limited to 'llvm/runtime/libprofile/BlockProfiling.c')
-rw-r--r-- | llvm/runtime/libprofile/BlockProfiling.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/runtime/libprofile/BlockProfiling.c b/llvm/runtime/libprofile/BlockProfiling.c index 8170ce4cb43..2b1b0116172 100644 --- a/llvm/runtime/libprofile/BlockProfiling.c +++ b/llvm/runtime/libprofile/BlockProfiling.c @@ -23,11 +23,12 @@ static unsigned NumElements; * data. */ static void BlockProfAtExitHandler() { - /* Note that if this were doing something more intellegent with the - instrumentation, that we could do some computation here to expand what we - collected into simple block profiles. Since we directly count each block, - */ - write_profiling_data(Block, ArrayStart, NumElements); + /* Note that if this were doing something more intelligent with the + * instrumentation, we could do some computation here to expand what we + * collected into simple block profiles. (Or we could do it in llvm-prof.) + * Regardless, we directly count each block, so no expansion is necessary. + */ + write_profiling_data(BlockInfo, ArrayStart, NumElements); } |