diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2012-02-26 08:59:25 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2012-02-26 08:59:25 +0000 |
commit | 08c833930726d5c33baac060a7aca7c1caf636b3 (patch) | |
tree | ec127626a731ae3586354ae4b7d050030cc94e35 /tools/llvm-stress | |
parent | c367dfc2f458e30249544ea2c8b05c956b419162 (diff) | |
download | external_llvm-08c833930726d5c33baac060a7aca7c1caf636b3.zip external_llvm-08c833930726d5c33baac060a7aca7c1caf636b3.tar.gz external_llvm-08c833930726d5c33baac060a7aca7c1caf636b3.tar.bz2 |
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
Diffstat (limited to 'tools/llvm-stress')
-rw-r--r-- | tools/llvm-stress/llvm-stress.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp index e99d54b..db35688 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, |