[cfe-commits] r108028 - /cfe/trunk/lib/Basic/TargetInfo.cpp
John Thompson
John.Thompson.JTSoftware at gmail.com
Fri Jul 9 15:49:34 PDT 2010
Author: jtsoftware
Date: Fri Jul 9 17:49:34 2010
New Revision: 108028
URL: http://llvm.org/viewvc/llvm-project?rev=108028&view=rev
Log:
Hack for dealing with commas until we support multiple alternative constraints, per pr7338.
Modified:
cfe/trunk/lib/Basic/TargetInfo.cpp
Modified: cfe/trunk/lib/Basic/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/TargetInfo.cpp?rev=108028&r1=108027&r2=108028&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/TargetInfo.cpp (original)
+++ cfe/trunk/lib/Basic/TargetInfo.cpp Fri Jul 9 17:49:34 2010
@@ -284,6 +284,8 @@
Info.setAllowsRegister();
Info.setAllowsMemory();
break;
+ case ',': // FIXME: Until we handle multiple alternative constraints,
+ return true; // ignore everything after the first comma.
}
Name++;
@@ -377,6 +379,8 @@
Info.setAllowsRegister();
Info.setAllowsMemory();
break;
+ case ',': // FIXME: Until we handle multiple alternative constraints,
+ return true; // ignore everything after the first comma.
}
Name++;
More information about the cfe-commits
mailing list