Disabled the code to throw signals on EM traps; this is the platform's job (and requi...
authordtrg <none@none>
Sun, 29 Apr 2007 20:46:48 +0000 (20:46 +0000)
committerdtrg <none@none>
Sun, 29 Apr 2007 20:46:48 +0000 (20:46 +0000)
lang/cem/libcc.ansi/head_ac.e

index 9a9d552..b97e58b 100644 (file)
@@ -17,6 +17,9 @@
  *
  */
 
+/* Disabled catch handler --- this is the platform's job. dtrg */
+#undef CATCHHANDLER
+
  mes 2,_EM_WSIZE,_EM_PSIZE
 
  exa environ
  loi _EM_PSIZE
  lae environ
  sti _EM_PSIZE
+#ifdef CATCHHANDLER
 #if __unix && ! (__em22 || __em24 || __em44)
  lpi $_ctch_
  sig
  asp _EM_PSIZE
+#endif
 #endif
  lal _EM_WSIZE+_EM_PSIZE
  loi _EM_PSIZE
@@ -47,6 +52,7 @@
  cal $exit
  end
 
+#ifdef CATCHHANDLER
 #if __unix && ! (__em22 || __em24 || __em44)
  exp $_ctch_
  pro $_ctch_,0
@@ -72,3 +78,4 @@
  rtt
  end 0
 #endif
+#endif