Mercurial > projects > ldc
annotate tests/mini/compile_rawvardeclinfinally.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 | 5696a7167b21 |
children | 8baf611f0009 |
rev | line source |
---|---|
773
5696a7167b21
Fix RawVarDecl double codegen bug. Thanks to downs for the testcase.
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
1 void foo() { void delegate()[] bar; try {} finally { foreach (dg; bar) dg(); } } |