diff options
| author | Tim Shen <timshen91@gmail.com> | 2016-10-29 00:51:41 +0000 |
|---|---|---|
| committer | Tim Shen <timshen91@gmail.com> | 2016-10-29 00:51:41 +0000 |
| commit | 1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3 (patch) | |
| tree | ead5c16a45d629a2407923d0e7a8833aa3b8f82f /llvm | |
| parent | 31fdcf39d377dc0c214dd0b76af8ce5ff3b7022a (diff) | |
| download | bcm5719-llvm-1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3.tar.gz bcm5719-llvm-1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3.zip | |
[APFloat] Remove the redundent function body of uninitialized ctor, which should be done in r285468
llvm-svn: 285486
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Support/APFloat.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index 20e7841129d..3a33d742683 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -821,10 +821,7 @@ IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics) { // Delegate to the previous constructor, because later copy constructor may // actually inspects category, which can't be garbage. IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, uninitializedTag tag) - : IEEEFloat(ourSemantics) { - // Allocates storage if necessary but does not initialize it. - initialize(&ourSemantics); -} + : IEEEFloat(ourSemantics) {} IEEEFloat::IEEEFloat(const IEEEFloat &rhs) { initialize(rhs.semantics); |

