Changes in directory llvm/lib/Transforms/Instrumentation:
ProfilingUtils.cpp updated: 1.14 -> 1.15 --- Log message: Eliminate use of ctors that take vectors. --- Diffs of the changes: (+2 -1) ProfilingUtils.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp diff -u llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp:1.14 llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp:1.15 --- llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp:1.14 Sun Jan 7 01:22:20 2007 +++ llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp Mon Feb 12 20:10:56 2007 @@ -53,7 +53,8 @@ } Args[3] = ConstantInt::get(Type::Int32Ty, NumElements); - Instruction *InitCall = new CallInst(InitFn, Args, "newargc", InsertPos); + Instruction *InitCall = new CallInst(InitFn, &Args[0], Args.size(), + "newargc", InsertPos); // If argc or argv are not available in main, just pass null values in. Function::arg_iterator AI; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits