Constants for profile info type changed names to match the C++ ones.
[oota-llvm.git] / runtime / libprofile / CommonProfiling.c
index aeb9c606e4e34eda3a625e3b8066ac230d310077..16bd9bd4c53928befec0472b3319a0433c22a0cc 100644 (file)
@@ -99,7 +99,7 @@ void write_profiling_data(enum ProfilingType PT, unsigned *Start,
 
     /* Output the command line arguments to the file. */
     {
-      int PTy = Arguments;
+      int PTy = ArgumentInfo;
       int Zeros = 0;
       write(OutFile, &PTy, sizeof(int));
       write(OutFile, &SavedArgsLength, sizeof(unsigned));