summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-02-21 06:59:21 +0000
committerSerge Guelton <sguelton@redhat.com>2019-02-21 06:59:21 +0000
commit77ac7028b4d4702708afb4df720c88b79f75aa36 (patch)
tree8d9fe1bff9fd973730ae04b7b17c5d8af037765a
parent1380c6bf28a3dbe9e7fd281c32c2ccbae564ada1 (diff)
downloadbcm5719-llvm-77ac7028b4d4702708afb4df720c88b79f75aa36.tar.gz
bcm5719-llvm-77ac7028b4d4702708afb4df720c88b79f75aa36.zip
Revert r354546
This triggers an ICE on gcc 7, see http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/17598/steps/build%20stage%201/logs/stdio llvm-svn: 354549
-rw-r--r--clang/include/clang/CodeGen/CGFunctionInfo.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/clang/include/clang/CodeGen/CGFunctionInfo.h b/clang/include/clang/CodeGen/CGFunctionInfo.h
index 0076068e475..52157f0c3cc 100644
--- a/clang/include/clang/CodeGen/CGFunctionInfo.h
+++ b/clang/include/clang/CodeGen/CGFunctionInfo.h
@@ -111,13 +111,14 @@ private:
}
ABIArgInfo(Kind K)
- : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), TheKind(K),
- PaddingInReg(false), InAllocaSRet(false), IndirectByVal(false),
- IndirectRealign(false), SRetAfterThis(false), InReg(false),
- CanBeFlattened(false), SignExt(false), SuppressSRet(false) {}
+ : TheKind(K), PaddingInReg(false), InReg(false), SuppressSRet(false) {
+ }
-public : ABIArgInfo()
- : ABIArgInfo(Direct) {}
+public:
+ ABIArgInfo()
+ : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0),
+ TheKind(Direct), PaddingInReg(false), InReg(false),
+ SuppressSRet(false) {}
static ABIArgInfo getDirect(llvm::Type *T = nullptr, unsigned Offset = 0,
llvm::Type *Padding = nullptr,
OpenPOWER on IntegriCloud