ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build.
[oota-llvm.git] / lib / Transforms / Scalar / ScalarReplAggregates.cpp
index 65cb0086753b7dba9f420a5d48cfcfbb7ad67c79..114d22ddf2e444166657396ae093d06ff6905382 100644 (file)
@@ -60,6 +60,7 @@ STATISTIC(NumAdjusted,  "Number of scalar allocas adjusted to allow promotion");
 STATISTIC(NumConverted, "Number of aggregates converted to scalar");
 
 namespace {
+#define SROA SROA_
   struct SROA : public FunctionPass {
     SROA(int T, bool hasDT, char &ID, int ST, int AT, int SLT)
       : FunctionPass(ID), HasDomTree(hasDT) {