From: Nadav Rotem Date: Sun, 26 Feb 2012 08:59:25 +0000 (+0000) Subject: Fix compilation on MSVC. Rename "_BB" to "Block" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=08c833930726d5c33baac060a7aca7c1caf636b3;p=oota-llvm.git 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 --- diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp index e99d54b2564..db35688aacb 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,