aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-02-02 11:35:58 +0100
committerZandra <[email protected]>2016-02-02 11:35:58 +0100
commit1a1eaec544987f439061622f0177e424dfd6306a (patch)
tree05454189fc353121a038027255a6559e7bd2eaa2 /erts/emulator/beam
parentb937e14a5b656b025f9b369656bfd03dadd481b5 (diff)
parent61ef7511c5ffae0b061d7cc45e9d564b02b891db (diff)
downloadotp-1a1eaec544987f439061622f0177e424dfd6306a.tar.gz
otp-1a1eaec544987f439061622f0177e424dfd6306a.tar.bz2
otp-1a1eaec544987f439061622f0177e424dfd6306a.zip
Merge branch 'maint'
Conflicts: erts/emulator/beam/beam_emu.c
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 4d7b00b032..b807102aa0 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -3885,7 +3885,7 @@ do { \
Op1 += Arg1;
store_bs_add_result:
- if (MY_IS_SSMALL((Sint) Op1)) {
+ if (Op1 <= MAX_SMALL) {
Op1 = make_small(Op1);
} else {
/*