[cfe-commits] r84219 - /cfe/trunk/lib/Basic/Targets.cpp

Anton Korobeynikov asl at math.spbu.ru
Thu Oct 15 16:17:13 PDT 2009


Author: asl
Date: Thu Oct 15 18:17:13 2009
New Revision: 84219

URL: http://llvm.org/viewvc/llvm-project?rev=84219&view=rev
Log:
Disallow arbitrary custom inline asm constraints for msp430.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=84219&r1=84218&r2=84219&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Oct 15 18:17:13 2009
@@ -1573,8 +1573,8 @@
     }
     virtual bool validateAsmConstraint(const char *&Name,
                                        TargetInfo::ConstraintInfo &info) const {
-      // FIXME: implement
-      return true;
+      // No target constraints for now.
+      return false;
     }
     virtual const char *getClobbers() const {
       // FIXME: Is this really right?





More information about the cfe-commits mailing list