1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Constants for profile info type changed names to match the C++ ones.

Edited comments.

llvm-svn: 13343
This commit is contained in:
Brian Gaeke 2004-05-04 16:51:46 +00:00
parent cb9a614ea4
commit b2d9d71730
2 changed files with 12 additions and 11 deletions

View File

@ -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);
}

View File

@ -23,12 +23,12 @@ static unsigned NumElements;
* data.
*/
static void EdgeProfAtExitHandler() {
/* 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 edge profiles. Since we directly count each edge, we
just write out all of the counters directly.
*/
write_profiling_data(Edge, 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 edge profiles. Since we directly count each edge, we
* just write out all of the counters directly.
*/
write_profiling_data(EdgeInfo, ArrayStart, NumElements);
}