diff options
Diffstat (limited to 'gcc/d/dmd/iasmgcc.d')
-rw-r--r-- | gcc/d/dmd/iasmgcc.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/d/dmd/iasmgcc.d b/gcc/d/dmd/iasmgcc.d index 7a840ff..f85e1ab 100644 --- a/gcc/d/dmd/iasmgcc.d +++ b/gcc/d/dmd/iasmgcc.d @@ -332,7 +332,7 @@ extern (C++) public Statement gccAsmSemantic(GccAsmStatement s, Scope *sc) // Analyse all input and output operands. if (s.args) { - foreach (i; 0 .. s.args.dim) + foreach (i; 0 .. s.args.length) { Expression e = (*s.args)[i]; e = e.expressionSemantic(sc); @@ -353,7 +353,7 @@ extern (C++) public Statement gccAsmSemantic(GccAsmStatement s, Scope *sc) // Analyse all clobbers. if (s.clobbers) { - foreach (i; 0 .. s.clobbers.dim) + foreach (i; 0 .. s.clobbers.length) { Expression e = (*s.clobbers)[i]; e = e.expressionSemantic(sc); @@ -365,7 +365,7 @@ extern (C++) public Statement gccAsmSemantic(GccAsmStatement s, Scope *sc) // Analyse all goto labels. if (s.labels) { - foreach (i; 0 .. s.labels.dim) + foreach (i; 0 .. s.labels.length) { Identifier ident = (*s.labels)[i]; GotoStatement gs = new GotoStatement(s.loc, ident); |