OSDN Git Service

[mips] Refactor calls to setCanHaveModuleDir.
authorToma Tabacu <toma.tabacu@imgtec.com>
Wed, 13 Aug 2014 12:48:12 +0000 (12:48 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Wed, 13 Aug 2014 12:48:12 +0000 (12:48 +0000)
commit48017d1bcd33a9bd3d0ff53574c31f0798e9bf66
tree43070b556ac8b55c1b3e43f1bc5a5a6e135bf0da
parentadc58a657b8179c4dd4a5f97116a38d31decbcff
[mips] Refactor calls to setCanHaveModuleDir.

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.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: tomatabacu

Differential Revision: http://reviews.llvm.org/D4781

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215542 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsTargetStreamer.h