diff options
author | Sverker Eriksson <[email protected]> | 2011-11-15 12:27:29 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-11-17 14:16:16 +0100 |
commit | c0b6c30a98c154a1ea190dd930b53dc4f155e67b (patch) | |
tree | 10d482fc47d6b9be331c6c0fcf4951b26adc0d22 /erts/emulator/beam | |
parent | 30f85a8d2f81665626e5a94d10ff9b0ea507caac (diff) | |
download | otp-c0b6c30a98c154a1ea190dd930b53dc4f155e67b.tar.gz otp-c0b6c30a98c154a1ea190dd930b53dc4f155e67b.tar.bz2 otp-c0b6c30a98c154a1ea190dd930b53dc4f155e67b.zip |
hipe,erts: Allow hipe without floating point exceptions
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 4 | ||||
-rw-r--r-- | erts/emulator/beam/erl_process.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index a3c1c9577b..cd80eb849e 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -7136,7 +7136,7 @@ erl_create_process(Process* parent, /* Parent of process (default group leader). p->pending_exit.bp = NULL; #endif -#if !defined(NO_FPE_SIGNALS) +#if !defined(NO_FPE_SIGNALS) || defined(HIPE) p->fp_exception = 0; #endif @@ -7310,7 +7310,7 @@ void erts_init_empty_process(Process *p) p->run_queue = ERTS_RUNQ_IX(0); #endif -#if !defined(NO_FPE_SIGNALS) +#if !defined(NO_FPE_SIGNALS) || defined(HIPE) p->fp_exception = 0; #endif diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 4027fade35..6ec1720b94 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -617,7 +617,7 @@ struct process { Uint min_heap_size; /* Minimum size of heap (in words). */ Uint min_vheap_size; /* Minimum size of virtual heap (in words). */ -#if !defined(NO_FPE_SIGNALS) +#if !defined(NO_FPE_SIGNALS) || defined(HIPE) volatile unsigned long fp_exception; #endif |