Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ static size_t tsrm_tls_offset;
#endif

#define IS_32BIT(addr) (((uintptr_t)(addr)) <= 0x7fffffff)
#define IS_64BIT(addr) (((uintptr_t)(addr)) <= 0x7fffffffffffffff)

#define IS_SIGNED_32BIT(val) ((((intptr_t)(val)) <= 0x7fffffff) && (((intptr_t)(val)) >= (-2147483647 - 1)))

Expand Down Expand Up @@ -353,7 +354,7 @@ static size_t tsrm_tls_offset;

|.macro EXT_CALL, func, tmp_reg
| .if X64
|| if (IS_32BIT(dasm_end) && IS_32BIT(func)) {
|| if (IS_64BIT(dasm_end) && IS_64BIT(func)) {
| call qword &func
|| } else {
| LOAD_ADDR tmp_reg, func
Expand Down