Remove some noise and duplicated macros from jit_fallback.c - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月02日 13:55:40 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月02日 13:55:40 -0300
commitba0f9f49fe1a94aad1ea19ac4a32881ad2a5ffe6 (patch)
treef1b3985a9e9b941144ea60302aeef64eb43126d8
parent6486a7c04c11902d10f7d610de6f9163891d8c5f (diff)
downloadlightning-ba0f9f49fe1a94aad1ea19ac4a32881ad2a5ffe6.tar.gz
Remove some noise and duplicated macros from jit_fallback.c
Diffstat
-rw-r--r--lib/jit_fallback.c 27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/jit_fallback.c b/lib/jit_fallback.c
index 7be15cc..ecddf45 100644
--- a/lib/jit_fallback.c
+++ b/lib/jit_fallback.c
@@ -57,33 +57,6 @@ static void _fallback_popcnt(jit_state_t*, jit_int32_t, jit_int32_t);
# if defined(__ia64__)
# define fallback_patch_jmpi(inst, lbl) \
patch_at(jit_code_jmpi, inst, lbl)
- # elif defined(__arm__)
-# define fallback_patch_jmpi(inst, lbl) \
- patch_at(arm_patch_jump, inst, lbl)
-# else
-# define fallback_patch_jmpi(inst, lbl) \
- patch_at(inst, lbl)
-# endif
-# if defined(__arm__)
-# define fallback_patch_at(inst,lbl) patch_at(arm_patch_jump,inst,lbl)
-# elif defined(__mips__)
-# define fallback_patch_at(inst,lbl) \
- do { \
- flush(); \
- patch_at(inst, lbl); \
- } while (0);
-# elif defined(__ia64__)
-# define fallback_patch_at(inst,lbl) \
- do { \
- sync(); \
- patch_at(jit_code_bnei, inst, lbl); \
- } while (0);
-# else
-# define fallback_patch_at(inst,lbl) patch_at(inst,lbl)
-# endif
-# if defined(__ia64__)
-# define fallback_patch_jmpi(inst, lbl) \
- patch_at(jit_code_jmpi, inst, lbl)
# define fallback_patch_bnei(inst, lbl) \
patch_at(jit_code_bnei, inst, lbl)
# define fallback_patch_blei(inst, lbl) \
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 05:32:37 +0000

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