Fix compilation on MSVC. Rename "_BB" to "Block"
authorNadav Rotem <nadav.rotem@intel.com>
Sun, 26 Feb 2012 08:59:25 +0000 (08:59 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Sun, 26 Feb 2012 08:59:25 +0000 (08:59 +0000)
Thanks zygoloid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151481 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-stress/llvm-stress.cpp

index e99d54b25642a19a37aa79a241a1fac3e8235c1a..db35688aacb54e8c09cf11f5be0095af3580e25c 100644 (file)
@@ -93,8 +93,8 @@ struct Modifier {
 
 public:
   /// C'tor
-  Modifier(BasicBlock *_BB, PieceTable *PT, Random *R):
-    BB(_BB),PT(PT),Ran(R),Context(BB->getContext()) {};
+  Modifier(BasicBlock *Block, PieceTable *PT, Random *R):
+    BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {};
   /// Add a new instruction.
   virtual void Act() = 0;
   /// Add N new instructions,