Mercurial > projects > ldc
changeset 1055:5066ba0c9783
Apply [1053] to x86-32 asm as well.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 08 Mar 2009 02:07:53 +0100 |
parents | a3d7288c4473 |
children | ee310a79e9a1 |
files | gen/asm-x86-32.h |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/asm-x86-32.h Sun Mar 08 01:26:30 2009 +0100 +++ b/gen/asm-x86-32.h Sun Mar 08 02:07:53 2009 +0100 @@ -2018,11 +2018,8 @@ ( operand->baseReg == Reg_ESP && sc->func->naked ) ) ) { - if ( mode == Mode_Output ) - { - e = new AddrExp ( 0, e ); - e->type = decl->type->pointerTo(); - } + e = new AddrExp ( 0, e ); + e->type = decl->type->pointerTo(); #if !IN_LLVM /* DMD uses the same frame offsets for naked functions. */