author | pcpa <paulo.cesar.pereira.de.andrade@gmail.com> | 2013年09月24日 03:31:54 -0300 |
---|---|---|
committer | pcpa <paulo.cesar.pereira.de.andrade@gmail.com> | 2013年09月24日 03:31:54 -0300 |
commit | b768fab8b135a722a76dc26b2037d40cdbae9b35 (patch) | |
tree | fd86327fa4ec167586803276a5b0b88bd67e9031 /lib/jit_ia64.c | |
parent | 95e3fbc8bc674a3d9ab745ae9d0a8ff630016fdf (diff) | |
download | lightning-b768fab8b135a722a76dc26b2037d40cdbae9b35.tar.gz |
-rw-r--r-- | lib/jit_ia64.c | 7 |
diff --git a/lib/jit_ia64.c b/lib/jit_ia64.c index eabc5cb..0894dd0 100644 --- a/lib/jit_ia64.c +++ b/lib/jit_ia64.c @@ -736,7 +736,6 @@ _jit_retval_d(jit_state_t *_jit, jit_int32_t r0) jit_pointer_t _emit_code(jit_state_t *_jit) { - jit_uint8_t *end; jit_node_t *node; jit_node_t *temp; jit_word_t word; @@ -850,11 +849,13 @@ _emit_code(jit_state_t *_jit) patch(word, node); \ } \ break +#if GET_JIT_SIZE /* default of 64 bytes is too low for some possible * quite long code generation sequences, e.g. qdivi */ - end = _jit->code.ptr + _jit->code.length - 4096; + _jitc->code.end = _jit->code.ptr + _jit->code.length - 4096; +#endif for (node = _jitc->head; node; node = node->next) { - if (_jit->pc.uc >= end && !jit_remap()) + if (_jit->pc.uc >= _jitc->code.end) return (NULL); value = jit_classify(node->code); |