Skip to content

Commit

Permalink
revert wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jun 6, 2024
1 parent ec81572 commit 63c5b91
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Core/MIPS/IR/IRJit.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ class IRBlockCache : public JitBlockCacheDebugInterface {
void FinalizeBlock(int blockNum, bool preload = false);
int GetNumBlocks() const override { return (int)blocks_.size(); }
int AllocateBlock(int emAddr, u32 origSize, const std::vector<IRInst> &inst) {
const u32 MAX_ARENA_SIZE = 0x10000 - 1;
int offset = (int)arena_.size();
if (offset >= MAX_ARENA_SIZE) {
return -1;
}
for (int i = 0; i < inst.size(); i++) {
arena_.push_back(inst[i]);
}
Expand Down

0 comments on commit 63c5b91

Please sign in to comment.