Use MachineBasicBlock::transferSuccessors.
[oota-llvm.git] / runtime / libprofile / EdgeProfiling.c
index 942b63221a303830da691824203a50ecccdb6961..4a68a086fbce4858261d402ed593ae8e147e5481 100644 (file)
@@ -2,8 +2,8 @@
 |*
 |*                     The LLVM Compiler Infrastructure
 |*
-|* This file was developed by the LLVM research group and is distributed under
-|* the University of Illinois Open Source License. See LICENSE.TXT for details.
+|* This file is distributed under the University of Illinois Open Source      
+|* License. See LICENSE.TXT for details.                                      
 |* 
 |*===----------------------------------------------------------------------===*|
 |* 
@@ -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);
 }