Mercurial > projects > ldc
view dmd/gnuc.h @ 1053:11e28922ac76
Always pass an address expression (not a var expression) to asm operands of
type Arg_Memory.
This fixes the following code:
{{{
void f(real x) { asm { fld x[RBP]; } }
void g(int x) { asm { mov EAX, x[RBP]; } }
}}}
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 08 Mar 2009 00:57:58 +0100 |
parents | c53b6e3fe49a |
children |
line wrap: on
line source
#ifndef _GNUC_H #define _GNUC_H 1 int memicmp(const char *s1, const char *s2, int n); int stricmp(const char *s1, const char *s2); #endif