2001-12-16  Dietmar Maurer  <dietmar@ximian.com>
2001-12-16  Dietmar Maurer  <dietmar@ximian.com>

	* emit-x86.c (arch_handle_exception): new code to handle
	exceptions inside unmanaged code.

	* x86.brg: impl. SAVE_LMF, RESTORE_LMF, pass implizit valuetype
	address as first argument.

	* x86.brg: pass exceptions on the stack

	* jit.h (ISSTRUCT): new macro to check for real value types
	(return false for enum types).

	* unicode.c (_wapi_unicode_to_utf8): byteswap UTF16 strings before
	passing them to iconv

	* file-io.c: raise exceptions if handle is invalid.

svn path=/trunk/mono/; revision=1603

biotrump/ffts-tec,biotrump/ffts-tec,biotrump/ffts-tec,linkotec/mono_arch,linkotec/mono_arch,linkotec/mono_arch,biotrump/ffts-tec