[llvm-commits] [llvm] r40089 - /llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Duncan Sands
baldrick at free.fr
Fri Jul 20 01:56:21 PDT 2007
Author: baldrick
Date: Fri Jul 20 03:56:21 2007
New Revision: 40089
URL: http://llvm.org/viewvc/llvm-project?rev=40089&view=rev
Log:
Place SCCPSolver also in the anonymous namespace. This
pacifies g++-4.2.
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=40089&r1=40088&r2=40089&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Fri Jul 20 03:56:21 2007
@@ -129,9 +129,6 @@
}
};
-} // end anonymous namespace
-
-
//===----------------------------------------------------------------------===//
//
/// SCCPSolver - This class is a general purpose solver for Sparse Conditional
@@ -408,6 +405,9 @@
}
};
+} // end anonymous namespace
+
+
// getFeasibleSuccessors - Return a vector of booleans to indicate which
// successors are reachable from a given terminator instruction.
//
More information about the llvm-commits
mailing list