Linux build fix for the windows build fix in r6465. I tested this on both windows and linux.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6467 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-11-23 15:52:42 +00:00
parent b197f8600c
commit 6d93a6b698
2 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ Fix profiled loads/stores to work safely. On 32-bit, one solution is to
#endif
#include <algorithm>
#include <cassert>
#include <memory>
#include <ctime>
#include <set>
#include "IR.h"

View File

@ -193,10 +193,10 @@ namespace JitILProfiler
static u64 beginTime;
static Block& Add(u64 codeHash)
{
const u32 blockIndex = blocks.size();
const u32 _blockIndex = blocks.size();
blocks.push_back(Block());
Block& block = blocks.back();
block.index = blockIndex;
block.index = _blockIndex;
block.codeHash = codeHash;
return block;
}