Move C emit code to PowerRecomp

This commit is contained in:
Sajid
2024-09-09 23:23:04 +06:00
parent 267e19b854
commit cbfcdc3ebc
6 changed files with 149 additions and 100 deletions

View File

@@ -131,6 +131,7 @@ Function Function::Analyze(const void* code, size_t size, size_t base)
const auto branchBase = insn.operands[0] - base;
const auto branchBlock = fn.SearchBlock(insn.operands[0]);
// carry over our projection if blocks are next to each other
const auto isContinious = branchBase == curBlock.base + curBlock.size;
auto sizeProjection = (size_t)-1;