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

Dan Gohman gohman at apple.com
Mon Jan 26 13:41:10 PST 2009


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




More information about the llvm-commits mailing list