[pkg-d-commits] [ldc] 01/74: Small code deduplication. (#2079)

Matthias Klumpp mak at moszumanska.debian.org
Thu Jul 13 20:54:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.3.0-beta2
in repository ldc.

commit 3d7ade0d795ce5620b1f19da6686b1c56885eee1
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Sat Apr 29 12:01:58 2017 +0200

    Small code deduplication. (#2079)
---
 gen/declarations.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gen/declarations.cpp b/gen/declarations.cpp
index 934a8b9..378e6a8 100644
--- a/gen/declarations.cpp
+++ b/gen/declarations.cpp
@@ -492,8 +492,7 @@ public:
 //////////////////////////////////////////////////////////////////////////////
 
 void Declaration_codegen(Dsymbol *decl) {
-  CodegenVisitor v(gIR);
-  decl->accept(&v);
+  Declaration_codegen(decl, gIR);
 }
 
 void Declaration_codegen(Dsymbol *decl, IRState *irs) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list