This is an archive of the discontinued LLVM Phabricator instance.

[PATCH] Remove AssemblyAnnotationWriter from Value::print
ClosedPublic

Authored by matekm on Mar 19 2014, 12:17 PM.

Details

Summary

Hi,

I was inspecting LLVM code and noticed that AssemblyAnnotationWriter parameter in Value::print method is always a nullptr. I attach a patch that will remove it.

I also changed some 0s that were used as nullptr indication to nullptrs.

After changes llvm and tool is compiling correctly and there is no regression in tests (at least those from make check-all).

BTW: I can see that there are other classes that have print method with AAW pointer, but the pointer are always null. If this patch will be accepted, I change them too.

Best regards,
Robert Matusewicz

Diff Detail

Event Timeline

dblaikie accepted this revision.Apr 5 2014, 4:40 PM

Committed in r205682

dblaikie closed this revision.Apr 5 2014, 4:40 PM