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:
parent
b197f8600c
commit
6d93a6b698
|
@ -130,7 +130,7 @@ Fix profiled loads/stores to work safely. On 32-bit, one solution is to
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <memory>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include "IR.h"
|
#include "IR.h"
|
||||||
|
|
|
@ -193,10 +193,10 @@ namespace JitILProfiler
|
||||||
static u64 beginTime;
|
static u64 beginTime;
|
||||||
static Block& Add(u64 codeHash)
|
static Block& Add(u64 codeHash)
|
||||||
{
|
{
|
||||||
const u32 blockIndex = blocks.size();
|
const u32 _blockIndex = blocks.size();
|
||||||
blocks.push_back(Block());
|
blocks.push_back(Block());
|
||||||
Block& block = blocks.back();
|
Block& block = blocks.back();
|
||||||
block.index = blockIndex;
|
block.index = _blockIndex;
|
||||||
block.codeHash = codeHash;
|
block.codeHash = codeHash;
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue