mirror of
https://github.com/danog/ir.git
synced 2024-11-26 20:34:53 +01:00
Remove PHP specific registers
This commit is contained in:
parent
f62e1da8ef
commit
fc2266d61a
16
ir_php.h
16
ir_php.h
@ -3,20 +3,4 @@
|
||||
|
||||
#define IR_PHP_OPS(_)
|
||||
|
||||
#if defined(IR_TARGET_X86)
|
||||
# define IR_REG_PHP_FP IR_REG_RSI
|
||||
# define IR_REG_PHP_IP IR_REG_RDI
|
||||
#elif defined(IR_TARGET_X64)
|
||||
# define IR_REG_PHP_FP IR_REG_R14
|
||||
# define IR_REG_PHP_IP IR_REG_R15
|
||||
#elif defined(IR_TARGET_AARCH64)
|
||||
# define IR_REG_PHP_FP IR_REG_X27
|
||||
# define IR_REG_PHP_IP IR_REG_X28
|
||||
#else
|
||||
# error "Unknown IR target"
|
||||
#endif
|
||||
|
||||
#define IR_REGSET_PHP_FIXED \
|
||||
(IR_REGSET(IR_REG_PHP_FP) | IR_REGSET(IR_REG_PHP_IP))
|
||||
|
||||
#endif /* IR_PHP_H */
|
||||
|
Loading…
Reference in New Issue
Block a user