diff gen/asm-x86-32.h @ 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 eb310635d80e
children ee310a79e9a1
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. */