comparison gen/toobj.cpp @ 1146:1860414bf3b7

* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h. * Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken. * All part of a greater cleanup scheme.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 26 Mar 2009 20:45:53 +0100
parents b9f9bde1707e
children dbe4af57b240
comparison
equal deleted inserted replaced
1145:40caa8207b3e 1146:1860414bf3b7
825 void ClassDeclaration::toObjFile(int multiobj) 825 void ClassDeclaration::toObjFile(int multiobj)
826 { 826 {
827 gIR->resolveList.push_back(this); 827 gIR->resolveList.push_back(this);
828 } 828 }
829 829
830 /******************************************
831 * Get offset of base class's vtbl[] initializer from start of csym.
832 * Returns ~0 if not this csym.
833 */
834
835 unsigned ClassDeclaration::baseVtblOffset(BaseClass *bc)
836 {
837 return ~0;
838 }
839
840 /* ================================================================== */ 830 /* ================================================================== */
841 831
842 void TupleDeclaration::toObjFile(int multiobj) 832 void TupleDeclaration::toObjFile(int multiobj)
843 { 833 {
844 Logger::println("TupleDeclaration::toObjFile(): %s", toChars()); 834 Logger::println("TupleDeclaration::toObjFile(): %s", toChars());