annotate tests/mini/compile_bug164_stringinitcast.d @ 979:523bf4f166bc

Fix some assembler issues: The assembler was miscompiling "add" (specifically, the "add reg/mem, imm" variations). The change that caused this seems to have been made because without it, some "add"s didn't compile at all. This patch reverts the previous change, and makes sure assembler operands are remapped correctly even though the input operands auto-generated due to updating operations aren't explicitly used.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 18 Feb 2009 21:46:14 +0100
parents d8c44f1e08e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
888
d8c44f1e08e1 Fix #164.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
1 const C = "foo";
d8c44f1e08e1 Fix #164.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
2 char[] var = C;