Doing so makes it easier to do printf style debugging in idiomatic manner. I followed the code structure of Value with only the definition of dump being #ifdef out in non-debug builds. Not sure if this is the "right" option; we don't seem to have any single consistent scheme on how debug is handled.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/include/llvm/CodeGen/ValueTypes.h | ||
---|---|---|
459 | V->dump should probably be more like V.dump() or VT.dump(). Shouldn't be an arrow. |
V->dump should probably be more like V.dump() or VT.dump(). Shouldn't be an arrow.