aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-07-16 18:18:22 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-07-18 18:57:53 +0200
commit817eeaf7777af901110d5da8c73006abdfa9be6a (patch)
tree1187080bdbb95891e69e7981d7a8fabc6239dde9 /erts/emulator/beam/beam_emu.c
parent075ecdf8d78876d994b5e441e0da158a8cbd9898 (diff)
downloadotp-817eeaf7777af901110d5da8c73006abdfa9be6a.tar.gz
otp-817eeaf7777af901110d5da8c73006abdfa9be6a.tar.bz2
otp-817eeaf7777af901110d5da8c73006abdfa9be6a.zip
erts: Remove VxWorks support from beam
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index efce070061..5dc5aa1e03 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -960,16 +960,9 @@ static void save_stacktrace(Process* c_p, BeamInstr* pc, Eterm* reg,
static struct StackTrace * get_trace_from_exc(Eterm exc);
static Eterm make_arglist(Process* c_p, Eterm* reg, int a);
-#if defined(VXWORKS)
-static int init_done;
-#endif
-
void
init_emulator(void)
{
-#if defined(VXWORKS)
- init_done = 0;
-#endif
erts_smp_atomic_init_nob(&warned_for_tuple_funs, (erts_aint_t) 0);
process_main();
}
@@ -1102,9 +1095,7 @@ dtrace_drvport_str(ErlDrvPort drvport, char *port_buf)
*/
void process_main(void)
{
-#if !defined(VXWORKS)
static int init_done = 0;
-#endif
Process* c_p = NULL;
int reds_used;
#ifdef DEBUG