File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#include <stdint.h>
9
9
10
- #include "common.h"
11
10
#include "riscv_private.h"
12
11
#include "utils.h"
13
12
@@ -59,15 +58,13 @@ typedef void (*exec_t2c_func_t)(riscv_t *);
59
58
#if RV32_HAS (JIT_CACHE )
60
59
#define MAX_JIT_CACHE_TABLE_ENTRIES (1 << 12)
61
60
62
- /* clang-format off */
63
61
struct jit_cache {
64
- __ALIGNED (4 ) uint32_t pc ; /* program counter of ELF */
65
- __ALIGNED (4 ) uint32_t from ; /* from whether t1c or t2c, ensure the correct
62
+ uint32_t pc __ALIGNED (4 ); /* program counter of ELF */
63
+ uint32_t from __ALIGNED (4 ); /* from whether t1c or t2c, ensure the correct
66
64
alignment for accessing member in LLVM IR
67
65
*/
68
- void * entry ; /* entry of JIT-ed code */
66
+ void * entry ; /* entry of JIT-ed code */
69
67
};
70
- /* clang-format on */
71
68
72
69
struct jit_cache * jit_cache_init ();
73
70
void jit_cache_exit (struct jit_cache * cache );
You can’t perform that action at this time.
0 commit comments