Constants for profile info type changed names to match the C++ ones.
[oota-llvm.git] / runtime / libprofile / BasicBlockTracing.c
index 00136330212e2034db2be7a3a0b076f75603e0c5..e70dc0528432ad2b8b033875ee72350b600ba4a6 100644 (file)
@@ -23,7 +23,7 @@ static unsigned *ArrayStart, *ArrayEnd, *ArrayCursor;
  * and reset the cursor to point to the beginning of the buffer.
  */
 static void WriteAndFlushBBTraceData () {
-  write_profiling_data(BBTrace, ArrayStart, (ArrayCursor - ArrayStart));
+  write_profiling_data(BBTraceInfo, ArrayStart, (ArrayCursor - ArrayStart));
   ArrayCursor = ArrayStart;
 }