Mercurial > projects > ldc
comparison gen/toobj.cpp @ 719:7261ff0f95ff
Implemented first class delegates. closes #101
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 21:50:08 +0200 |
parents | 30b42a283c8e |
children | bd56056a581f |
comparison
equal
deleted
inserted
replaced
718:72ee105be27b | 719:7261ff0f95ff |
---|---|
73 } | 73 } |
74 | 74 |
75 Logger::println("Generating module: %s\n", (md ? md->toChars() : toChars())); | 75 Logger::println("Generating module: %s\n", (md ? md->toChars() : toChars())); |
76 LOG_SCOPE; | 76 LOG_SCOPE; |
77 | 77 |
78 //printf("codegen: %s\n", srcfile->toChars()); | 78 printf("codegen: %s\n", srcfile->toChars()); |
79 | 79 |
80 // start by deleting the old object file | 80 // start by deleting the old object file |
81 deleteObjFile(); | 81 deleteObjFile(); |
82 | 82 |
83 // create a new ir state | 83 // create a new ir state |