mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 09:17:29 +00:00
Resolve CG(map_ptr_base) in disassembler
This commit is contained in:
1 parent
6ecc103439
commit
4a095a0252
1 file changed
+5
@@ -587,6 +587,11 @@ static int zend_jit_disasm_init(void)
|
||||
REGISTER_EG(symbol_table);
|
||||
REGISTER_EG(jit_trace_num);
|
||||
#undef REGISTER_EG
|
||||
#define REGISTER_CG(n) \
|
||||
zend_jit_disasm_add_symbol("CG("#n")", \
|
||||
(uint64_t)(uintptr_t)&compiler_globals.n, sizeof(compiler_globals.n))
|
||||
REGISTER_CG(map_ptr_base);
|
||||
#undef REGISTER_CG
|
||||
#endif
|
||||
|
||||
/* Register JIT helper functions */
|
||||
|
||||
Reference in new issue
Block a user