comparison gen/asm-x86-32.h @ 1057:ee310a79e9a1

Merge
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Sun, 08 Mar 2009 02:36:45 +0100
parents cc723604da95 5066ba0c9783
children 56e56b3b9bb8
comparison
equal deleted inserted replaced
1056:cc723604da95 1057:ee310a79e9a1
2018 decl->isVarDeclaration() && 2018 decl->isVarDeclaration() &&
2019 ( ( operand->baseReg == Reg_EBP && ! sc->func->naked ) || 2019 ( ( operand->baseReg == Reg_EBP && ! sc->func->naked ) ||
2020 ( operand->baseReg == Reg_ESP && sc->func->naked ) ) ) 2020 ( operand->baseReg == Reg_ESP && sc->func->naked ) ) )
2021 { 2021 {
2022 2022
2023 if ( mode == Mode_Output ) 2023 e = new AddrExp ( 0, e );
2024 { 2024 e->type = decl->type->pointerTo();
2025 e = new AddrExp ( 0, e );
2026 e->type = decl->type->pointerTo();
2027 }
2028 2025
2029 #if !IN_LLVM 2026 #if !IN_LLVM
2030 /* DMD uses the same frame offsets for naked functions. */ 2027 /* DMD uses the same frame offsets for naked functions. */
2031 if ( sc->func->naked ) 2028 if ( sc->func->naked )
2032 operand->constDisplacement += 4; 2029 operand->constDisplacement += 4;