- Added PARAMI for the common case of passing an integer constant to a function.
- Made FxParameter::Emit free its operand's register. SVN r1918 (scripting)
This commit is contained in:
parent
caa5f6dbdc
commit
126c738116
6 changed files with 61 additions and 75 deletions
|
|
@ -25,8 +25,10 @@
|
|||
#define BCs (*(VM_SHALF *)(pc - 2))
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#define ABCs ((*(VM_SWORD *)(pc - 4) << 8) >> 8)
|
||||
#define JMPOFS(x) ((*(VM_SWORD *)(x) << 8) >> 6)
|
||||
#else
|
||||
#define ABCs (*(VM_SWORD *)(pc - 4) >> 8)
|
||||
#define JMPOFS(x) ((*(VM_SWORD *)(x) >> 6) & ~3)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue