diff options
author | Björn Gustavsson <[email protected]> | 2010-12-14 07:23:19 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-01-17 15:23:40 +0100 |
commit | 56da36ef79a1c7ffb39836e1838084ed53dda6f0 (patch) | |
tree | 33371d2db9f501bc9ce80ba695ac642337646356 /erts/emulator/beam/beam_emu.c | |
parent | 4d6e7ac0aa307271e0b265dd41dea4eb0fc1dee7 (diff) | |
download | otp-56da36ef79a1c7ffb39836e1838084ed53dda6f0.tar.gz otp-56da36ef79a1c7ffb39836e1838084ed53dda6f0.tar.bz2 otp-56da36ef79a1c7ffb39836e1838084ed53dda6f0.zip |
Support packing of the 'I' type in a 64-bit emulator
In many (not all) cases, the value for the 'I' type will
fit into 32 bits.
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 266b897672..bce51a001f 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -345,6 +345,7 @@ extern int count_instructions; #define yb(N) (*(Eterm *) (((unsigned char *)E) + (N))) #define fb(N) (*(double *) (((unsigned char *)&(freg[0].fd)) + (N))) #define Qb(N) (N) +#define Ib(N) (N) #define x(N) reg[N] #define y(N) E[N] #define r(N) x##N |