]> granicus.if.org Git - clang/commitdiff
Allow regparm attribute for PNaCl target
authorDavid Meyer <pdox@google.com>
Tue, 11 Oct 2011 03:12:01 +0000 (03:12 +0000)
committerDavid Meyer <pdox@google.com>
Tue, 11 Oct 2011 03:12:01 +0000 (03:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141638 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index abb1f867f8608a5f1cba9de3cc84e253dd6ff993..e63af6b18a8fae2bb58e356b02afcc2d5296b1e0 100644 (file)
@@ -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";
   }