[llvm-commits] [llvm] r63008 - in /llvm/trunk: include/llvm/CodeGen/DebugLoc.h include/llvm/CodeGen/MachineFunction.h lib/CodeGen/MachineFunction.cpp

Evan Cheng evan.cheng at apple.com
Mon Jan 26 15:22:15 PST 2009


No, there is no reason. I just forgot to clean it up.

Evan

On Jan 26, 2009, at 1:41 PM, Dan Gohman wrote:

>
> On Jan 25, 2009, at 11:41 PM, Evan Cheng wrote:
>>
>> +    // NumDebugLocations - Size of the DebugLocations vector.
>> +    unsigned NumDebugLocations;
>> +
>> +    // DebugLocations - A vector of unique DebugLocTuple's.
>> +    //
>> +    std::vector<DebugLocTuple> DebugLocations;
>
> Hi Evan,
>
> std::vector keeps track of its own size. Is it necessary to
> keep a separate count of the number of elements?
>
> Dan
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list