[cfe-commits] r85677 - in /cfe/trunk: lib/CodeGen/CGVtable.cpp test/CodeGenCXX/virt.cpp

Mike Stump mrs at apple.com
Sat Oct 31 14:40:43 PDT 2009


On Oct 31, 2009, at 2:10 PM, Chris Lattner wrote:
> On Oct 31, 2009, at 1:06 PM, Mike Stump wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=85677&view=rev
>> Log:
>> Refine vcall/vbase ordering with vtable construction.
>
>>
>> -  void GenerateVBaseOffsets(std::vector<llvm::Constant *> &offsets,
>> -                            const CXXRecordDecl *RD, uint64_t  
>> Offset,
>> +#define D1(x)
>> +//#define D1(X) do { if (getenv("DEBUG")) { X; } } while (0)
>
> Any reason not to use the existing DEBUG macros?
> http://llvm.org/docs/ProgrammersManual.html#DEBUG

No perfectly good reason.



More information about the cfe-commits mailing list