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月26日 18:25:41 -0200
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2014年10月26日 18:25:41 -0200
commit44519452d9b7f7bc46e2fb5154df438ee316f96c (patch)
treeef48a3c385c5873a056c7b7a1653a618f4f117a5 /lib/jit_note.c
parentddd7a7550bb3be79b877d62c3028abe6462da976 (diff)
downloadlightning-44519452d9b7f7bc46e2fb5154df438ee316f96c.tar.gz
Add assertion to check for register allocation leaks
* lib/jit_aarch64.c, lib/jit_alpha.c, lib/jit_arm.c, lib/jit_hppa.c, lib/jit_ia64.c, lib/jit_mips.c, lib/jit_ppc.c, lib/jit_s390x.c, lib/jit_sparc.c, lib/jit_x86.c: Add an assertion to all code generation "drivers" to ensure _jitc->regarg is empty or in an expected state, after translation of a lightning instruction to native code. This change was a brute force test to find out other cases of a temporary not being release (like was happening with _bmsi and _bmci on x86), but no other case was found, after running make check, with assertions enabled, on all backends.
Diffstat (limited to 'lib/jit_note.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月11日 19:40:47 +0000

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