[test-suite] r202698 - XCore target: add support to build SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp
Robert Lytton
robert at xmos.com
Mon Mar 3 03:22:42 PST 2014
Author: rlytton
Date: Mon Mar 3 05:22:42 2014
New Revision: 202698
URL: http://llvm.org/viewvc/llvm-project?rev=202698&view=rev
Log:
XCore target: add support to build SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp
Modified:
test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp
Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B-EH/spirit.cpp?rev=202698&r1=202697&r2=202698&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp Mon Mar 3 05:22:42 2014
@@ -5246,6 +5246,16 @@ namespace boost
{
namespace detail
{
+#ifdef __XS1B__
+class lightweight_mutex {
+public:
+ class scoped_lock {
+ public:
+ scoped_lock(lightweight_mutex & m){}
+ };
+ friend class scoped_lock;
+};
+#else
class lightweight_mutex
{
private:
@@ -5280,6 +5290,7 @@ public:
}
};
};
+#endif
}
}
namespace boost
More information about the llvm-commits
mailing list