aboutsummaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-09 20:35:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-09 20:35:08 +0000
commit27554ee1d8348d06741b9e697be173c5514dac0d (patch)
tree1ec8cb33bd9f0dcafb28ec27fac608bb6291ebed /lib/MC
parentaf12ad7c9264cb5840ccff5055d0a112a91798a5 (diff)
Remove unused method and default values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCAssembler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp
index 1829266f96..8970e18a2c 100644
--- a/lib/MC/MCAssembler.cpp
+++ b/lib/MC/MCAssembler.cpp
@@ -214,8 +214,7 @@ MCFragment::~MCFragment() {
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
: Kind(_Kind), Parent(_Parent), Atom(0), Offset(~UINT64_C(0))
{
- if (Parent)
- Parent->getFragmentList().push_back(this);
+ Parent->getFragmentList().push_back(this);
}
/* *** */