From 59f677c7ae5f5e853572577be49bf0f43a5ccbcb Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Sun, 8 Mar 2009 02:07:53 +0100 Subject: [PATCH] Apply [1053] to x86-32 asm as well. --- gen/asm-x86-32.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gen/asm-x86-32.h b/gen/asm-x86-32.h index 49e91a52..1cc1227e 100644 --- a/gen/asm-x86-32.h +++ b/gen/asm-x86-32.h @@ -2018,11 +2018,8 @@ namespace AsmParserx8632 ( 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. */