[llvm-commits] [llvm] r151481 - /llvm/trunk/tools/llvm-stress/llvm-stress.cpp
Nadav Rotem
nadav.rotem at intel.com
Sun Feb 26 00:59:25 PST 2012
Author: nadav
Date: Sun Feb 26 02:59:25 2012
New Revision: 151481
URL: http://llvm.org/viewvc/llvm-project?rev=151481&view=rev
Log:
Fix compilation on MSVC. Rename "_BB" to "Block"
Thanks zygoloid.
Modified:
llvm/trunk/tools/llvm-stress/llvm-stress.cpp
Modified: llvm/trunk/tools/llvm-stress/llvm-stress.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-stress/llvm-stress.cpp?rev=151481&r1=151480&r2=151481&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-stress/llvm-stress.cpp (original)
+++ llvm/trunk/tools/llvm-stress/llvm-stress.cpp Sun Feb 26 02:59:25 2012
@@ -93,8 +93,8 @@
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,
More information about the llvm-commits
mailing list