This is an archive of the discontinued LLVM Phabricator instance.

[mips] Refactor calls to setCanHaveModuleDir.
ClosedPublic

Authored by tomatabacu on Aug 4 2014, 8:37 AM.

Details

Summary

Moved some calls to setCanHaveModuleDir to the MipsTargetStreamer base class and removed the resulting empty functions from the MipsTargetELFStreamer class.

Also fixed a missing call to setCanHaveModuleDir in MipsTargetELFStreamer::emitDirectiveSetMicroMips.

Diff Detail

Event Timeline

tomatabacu updated this revision to Diff 12163.Aug 4 2014, 8:37 AM
tomatabacu retitled this revision from to [mips] Refactor calls to setCanHaveModuleDir..
tomatabacu updated this object.
tomatabacu edited the test plan for this revision. (Show Details)
tomatabacu added a reviewer: dsanders.
tomatabacu added a subscriber: tomatabacu.
dsanders accepted this revision.Aug 11 2014, 8:43 AM
dsanders edited edge metadata.

LGTM.

Just for future reference, instead of saying something like:

Also fixed a missing call to setCanHaveModuleDir.

Try to say where that missing call is:

Added a missing call to setCanHaveModuleDir() to emitDirectiveSetMicroMips()

This revision is now accepted and ready to land.Aug 11 2014, 8:43 AM
tomatabacu updated this object.Aug 13 2014, 5:55 AM
tomatabacu edited edge metadata.
tomatabacu closed this revision.Aug 13 2014, 5:57 AM