Constants for profile info type changed names to match the C++ ones.
[oota-llvm.git] / runtime / libprofile / FunctionProfiling.c
index 5f9c4f2e388a396f3613aacb871fbb7c6ce699f1..d030053094bc6d1b4f733afea2882756ae18ec2e 100644 (file)
@@ -25,7 +25,7 @@ static unsigned NumElements;
 static void FuncProfAtExitHandler() {
   /* Just write out the data we collected.
    */
-  write_profiling_data(Function, ArrayStart, NumElements);
+  write_profiling_data(FunctionInfo, ArrayStart, NumElements);
 }