diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-13 17:21:42 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-13 17:21:42 +0000 | 
| commit | 4ba675006b5a8edfc48b6a9bd3dcf54a70cc08f2 (patch) | |
| tree | 48b44512b5db8ced345df4a1a56b5065cf2a14d9 /lib/Basic/TargetInfo.cpp | |
| parent | d7279c4c177bca357ef96ff1379fd9bc420bfe83 (diff) | |
Notes
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
| -rw-r--r-- | lib/Basic/TargetInfo.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 6692e641f2a4..e4eaf6313780 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -34,6 +34,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {    DoubleAlign = 64;    LongDoubleWidth = 64;    LongDoubleAlign = 64; +  LargeArrayMinWidth = 0; +  LargeArrayAlign = 0;    SizeType = UnsignedLong;    PtrDiffType = SignedLong;    IntMaxType = SignedLongLong; @@ -282,6 +284,8 @@ bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const {        Info.setAllowsRegister();        Info.setAllowsMemory();        break; +    case ',': // FIXME: Until we handle multiple alternative constraints, +      return true;  // ignore everything after the first comma.      }      Name++; @@ -375,6 +379,8 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints,        Info.setAllowsRegister();        Info.setAllowsMemory();        break; +    case ',': // FIXME: Until we handle multiple alternative constraints, +      return true;  // ignore everything after the first comma.      }      Name++;  | 
