diff options
author | David Meyer <pdox@google.com> | 2011-10-11 03:12:01 +0000 |
---|---|---|
committer | David Meyer <pdox@google.com> | 2011-10-11 03:12:01 +0000 |
commit | dd4a889f6a5b05f0061d63af8136ebd70d132c65 (patch) | |
tree | 2f8c34663028471e6c80365cb1a425c5e4de9624 /lib/Basic/Targets.cpp | |
parent | 276b061970939293f1abaf694bd3ef05b2cbda79 (diff) |
Allow regparm attribute for PNaCl target
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index abb1f867f8..e63af6b18a 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -3418,6 +3418,7 @@ public: this->SizeType = TargetInfo::UnsignedInt; this->PtrDiffType = TargetInfo::SignedInt; this->IntPtrType = TargetInfo::SignedInt; + this->RegParmMax = 2; DescriptionString = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" "f32:32:32-f64:64:64-p:32:32:32-v128:32:32"; } |