Skip to content

Commit dc497b6

Browse files
committed
Fix compilation on MSVC. Rename "_BB" to "Block"
Thanks zygoloid. llvm-svn: 151481
1 parent 089cf42 commit dc497b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/llvm-stress/llvm-stress.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ struct Modifier {
9393

9494
public:
9595
/// C'tor
96-
Modifier(BasicBlock *_BB, PieceTable *PT, Random *R):
97-
BB(_BB),PT(PT),Ran(R),Context(BB->getContext()) {};
96+
Modifier(BasicBlock *Block, PieceTable *PT, Random *R):
97+
BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {};
9898
/// Add a new instruction.
9999
virtual void Act() = 0;
100100
/// Add N new instructions,

0 commit comments

Comments
 (0)