aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-05-22 21:00:39 +0200
committerRickard Green <[email protected]>2013-06-04 01:24:31 +0200
commit6aa140d2e9c0a810e057a140a3fdc252acf658d1 (patch)
tree5196d6fca603a8d5b091dcfca591b33ae8da6806 /erts/emulator/beam/erl_alloc.c
parent28cb303209de159936f7ae997f222fcc875bd855 (diff)
downloadotp-6aa140d2e9c0a810e057a140a3fdc252acf658d1.tar.gz
otp-6aa140d2e9c0a810e057a140a3fdc252acf658d1.tar.bz2
otp-6aa140d2e9c0a810e057a140a3fdc252acf658d1.zip
erts: Implement test case for carrier pool
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 4bb7bae870..e85d770daa 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -3311,6 +3311,11 @@ UWord erts_alc_test(UWord op, UWord a1, UWord a2, UWord a3)
ERTS_ALC_TEST_ABORT;
break;
#endif /* #ifdef USE_THREADS */
+#ifdef ERTS_SMP
+ case 0xf13: return (UWord) 1;
+#else
+ case 0xf13: return (UWord) 0;
+#endif
default:
break;
}