summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-09-29 07:34:32 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-09-29 07:34:32 +0000
commit87c5c4b0cc5e8f62d1b74bbd662ae7aeada93d54 (patch)
tree4039cd2c978ec09fd3e4b3311d5c331f6ce05ec0 /src/runtime/c
parentaef787aeb112f45547011f6fcc7e27b2aaddef96 (diff)
enlarge the code window in pgf_jit_gates to ensure enough space on 64-bit machines
Diffstat (limited to 'src/runtime/c')
-rw-r--r--src/runtime/c/pgf/jit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/pgf/jit.c b/src/runtime/c/pgf/jit.c
index 48afcb1ea..7395162e0 100644
--- a/src/runtime/c/pgf/jit.c
+++ b/src/runtime/c/pgf/jit.c
@@ -346,7 +346,7 @@ pgf_jit_gates(PgfReader* rdr)
jit_ldxi_p(JIT_RET, JIT_VHEAP, offsetof(PgfValue, absfun));
jit_bare_ret(0);
- pgf_jit_make_space(rdr, JIT_CODE_WINDOW);
+ pgf_jit_make_space(rdr, JIT_CODE_WINDOW*2);
gates->evaluate_value_gen = jit_get_ip().ptr;
jit_subr_p(JIT_R0, JIT_FP, JIT_SP);
@@ -394,7 +394,7 @@ pgf_jit_gates(PgfReader* rdr)
jit_patch(ref);
jit_jmpr(JIT_VCLOS);
- pgf_jit_make_space(rdr, JIT_CODE_WINDOW);
+ pgf_jit_make_space(rdr, JIT_CODE_WINDOW*2);
gates->evaluate_value_meta = jit_get_ip().ptr;
jit_subr_p(JIT_R0, JIT_FP, JIT_SP);