block_of_code: Increase constant pool size
This commit is contained in:
parent
e69288f803
commit
d74f4e35f6
1 changed files with 2 additions and 1 deletions
|
@ -33,12 +33,13 @@ const Xbyak::Reg64 BlockOfCode::ABI_PARAM4 = Xbyak::util::rcx;
|
||||||
|
|
||||||
constexpr size_t TOTAL_CODE_SIZE = 128 * 1024 * 1024;
|
constexpr size_t TOTAL_CODE_SIZE = 128 * 1024 * 1024;
|
||||||
constexpr size_t FAR_CODE_OFFSET = 100 * 1024 * 1024;
|
constexpr size_t FAR_CODE_OFFSET = 100 * 1024 * 1024;
|
||||||
|
constexpr size_t CONSTANT_POOL_SIZE = 2 * 1024 * 1024;
|
||||||
|
|
||||||
BlockOfCode::BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi)
|
BlockOfCode::BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi)
|
||||||
: Xbyak::CodeGenerator(TOTAL_CODE_SIZE)
|
: Xbyak::CodeGenerator(TOTAL_CODE_SIZE)
|
||||||
, cb(std::move(cb))
|
, cb(std::move(cb))
|
||||||
, jsi(jsi)
|
, jsi(jsi)
|
||||||
, constant_pool(*this, 256)
|
, constant_pool(*this, CONSTANT_POOL_SIZE)
|
||||||
{
|
{
|
||||||
GenRunCode();
|
GenRunCode();
|
||||||
exception_handler.Register(*this);
|
exception_handler.Register(*this);
|
||||||
|
|
Loading…
Reference in a new issue