aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_debug.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-18 10:22:21 +0200
committerBjörn Gustavsson <[email protected]>2016-04-18 10:22:21 +0200
commit3a0aa160f5f13857d7335c3f3524bd0a59250cc4 (patch)
treed553a260475219df046dc544ac82fc32c3357156 /erts/emulator/beam/beam_debug.c
parent6f137f7f326a03098d72806495a1365938f14314 (diff)
parent9b2ee6cfdc09090df81be40ca1d7358c3d273743 (diff)
downloadotp-3a0aa160f5f13857d7335c3f3524bd0a59250cc4.tar.gz
otp-3a0aa160f5f13857d7335c3f3524bd0a59250cc4.tar.bz2
otp-3a0aa160f5f13857d7335c3f3524bd0a59250cc4.zip
Merge branch 'bjorn/erts/beam_load'
* bjorn/erts/beam_load: Optimize get_tuple_element instructions that target Y registers Mend beam_SUITE:packed_registers/1 Correct unpacking of 3 operands on 32-bit archictectures Eliminate misleading #ifdef ARCH_64 in beam_opcodes.h beam_debug: Correct masking when unpacking packed operands
Diffstat (limited to 'erts/emulator/beam/beam_debug.c')
-rw-r--r--erts/emulator/beam/beam_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c
index 61149721fe..a4ad3e7886 100644
--- a/erts/emulator/beam/beam_debug.c
+++ b/erts/emulator/beam/beam_debug.c
@@ -431,7 +431,7 @@ print_op(int to, void *to_arg, int op, int size, BeamInstr* addr)
packed >>= 10;
break;
case '0': /* Tight shift */
- *ap++ = packed & (BEAM_TIGHT_MASK / sizeof(Eterm));
+ *ap++ = packed & BEAM_TIGHT_MASK;
packed >>= BEAM_TIGHT_SHIFT;
break;
case '6': /* Shift 16 steps */