From 08c833930726d5c33baac060a7aca7c1caf636b3 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sun, 26 Feb 2012 08:59:25 +0000 Subject: Fix compilation on MSVC. Rename "_BB" to "Block" 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/llvm-stress') diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp index e99d54b256..db35688aac 100644 --- a/tools/llvm-stress/llvm-stress.cpp +++ b/tools/llvm-stress/llvm-stress.cpp @@ -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, -- cgit v1.2.3