Mercurial > projects > ldc
view lphobos/typeinfos1.d @ 1215:08f87d8cd101
Fix some unittests for 64-bit asm. They were operating on int variables as if
they were longs.
This was causing asm1_1 to fail when compiled with -O3 because it was
overwriting the spilled value of callee-saved register %rbx, which the runtime
was using as a pointer value at the time.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 13 Apr 2009 17:42:36 +0200 |
parents | 3efbcc81ba45 |
children |
line wrap: on
line source
module typeinfos1; import typeinfo1.ti_byte, typeinfo1.ti_cdouble, typeinfo1.ti_cfloat, typeinfo1.ti_char, typeinfo1.ti_creal, typeinfo1.ti_dchar, typeinfo1.ti_delegate, typeinfo1.ti_double, typeinfo1.ti_float, typeinfo1.ti_idouble, typeinfo1.ti_ifloat, typeinfo1.ti_int, typeinfo1.ti_ireal, typeinfo1.ti_long, typeinfo1.ti_ptr, typeinfo1.ti_real, typeinfo1.ti_short, typeinfo1.ti_ubyte, typeinfo1.ti_uint, typeinfo1.ti_ulong, typeinfo1.ti_ushort, typeinfo1.ti_void, typeinfo1.ti_wchar;