aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-07-10 15:05:43 +0200
committerRickard Green <[email protected]>2013-07-10 15:05:43 +0200
commit75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487 (patch)
tree9cb54d13edf3e1ee7794579c7be02893af52b3c6 /erts/emulator/beam/beam_emu.c
parent903f7be44820731dd0f9989024c72ead07e90e81 (diff)
parentb5df977d74dfce0b1bb41ebcedb7f16d02477c5a (diff)
downloadotp-75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487.tar.gz
otp-75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487.tar.bz2
otp-75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487.zip
Merge branch 'rickard/info/OTP-11196' into maint
* rickard/info/OTP-11196: Add test cases for native atomics and jump table Refuse to build SMP runtime by default without native atomics Make information about use of jump table available via system_info BIF Make ethread library information available via system_info BIF Make emulator arguments available via the system_info BIF
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 5781009f58..da36c4437e 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -6256,3 +6256,12 @@ erts_current_reductions(Process *current, Process *p)
}
}
+int
+erts_beam_jump_table(void)
+{
+#if defined(NO_JUMP_TABLE)
+ return 0;
+#else
+ return 1;
+#endif
+}