Mercurial > projects > ldc
changeset 1080:44d1c557a07b
Automated merge with http://hg.dsource.org/projects/ldc
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Tue, 10 Mar 2009 04:48:54 +0100 |
parents | 9c63438c3207 (diff) 4e388d9d0e25 (current diff) |
children | 5710440ea420 |
files | |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/asm-x86-64.h Tue Mar 10 04:45:32 2009 +0100 +++ b/gen/asm-x86-64.h Tue Mar 10 04:48:54 2009 +0100 @@ -1499,7 +1499,15 @@ } if ( token->value == TOKcomma ) + { nextToken(); + } + else if ( token->value == TOKint16 || token->value == TOKint32 || token->value == TOKint64 ) + { + //throw away the 'short' in "jle short Label;". Works for long also. + operands[0] = operands[1]; + return; + } else if ( token->value != TOKeof ) { ok = false; @@ -2911,6 +2919,12 @@ ident = Id::__dollar; goto do_dollar; break; + case TOKint16: + case TOKint32: + case TOKint64: + //This is for the 'short' in "jle short Label;" + return Handled; + break; default: invalidExpression(); return Handled;