Properly handle jit_tramp and function descriptors - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_note.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2014年10月24日 14:31:41 -0200
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2014年10月24日 14:31:41 -0200
commit0c6f675c8a026826b2482db9f978d422ef1f5328 (patch)
tree30bdd152cd6106e74ee39abcff57973133f59f9b /lib/jit_note.c
parent9c5e2b511ec6f80a350d756d4464acfb10373ee4 (diff)
downloadlightning-0c6f675c8a026826b2482db9f978d422ef1f5328.tar.gz
Properly handle jit_tramp and function descriptors
* lib/jit_ia64.c, lib/jit_ppc.c: Correct handling of function descriptor when first prolog is a jit_tramp prolog. The test case was using the same jit_context_t, so was not triggering this condition. * lib/jit_ppc-cpu.c: Properly handle jump displacements that do not fit on 24 powerpc. This required changing from previous "mtlr reg, blr" to "mtctr reg, bctr" to properly handle the logic to "hide" function descriptors, but that would also be required as the proper jit_jmpr when/if implementing optimizations to leaf functions (was working with blr because it is saved/reloaded in prolog/epilog).
Diffstat (limited to 'lib/jit_note.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 22:09:49 +0000

AltStyle によって変換されたページ (->オリジナル) /