Commit 84814596 authored by Marius Wachtler's avatar Marius Wachtler

bjit: allocate 25% smaller codeblocks

this does not hurt perf but still saves some memory
parent 85b1b946
......@@ -148,7 +148,7 @@ class JitFragmentWriter;
class JitCodeBlock {
public:
static constexpr int scratch_size = 256;
static constexpr int memory_size = 32768; // must fit the EH frame + generated code
static constexpr int memory_size = 6 * 4096; // must fit the EH frame + generated code
static constexpr int num_stack_args = 2;
// scratch size + space for passing additional args on the stack without having to adjust the SP when calling
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment