summaryrefslogtreecommitdiff
path: root/runtime/libprofile/EdgeProfiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/EdgeProfiling.c')
-rw-r--r--runtime/libprofile/EdgeProfiling.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/libprofile/EdgeProfiling.c b/runtime/libprofile/EdgeProfiling.c
index 942b63221a..cf717664f3 100644
--- a/runtime/libprofile/EdgeProfiling.c
+++ b/runtime/libprofile/EdgeProfiling.c
@@ -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);
}