diff gen/toir.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 f99a3b393c03
children dbe4af57b240
line wrap: on
line diff
--- a/gen/toir.cpp	Thu Mar 26 18:46:21 2009 +0100
+++ b/gen/toir.cpp	Thu Mar 26 20:45:53 2009 +0100
@@ -2618,164 +2618,7 @@
 CONSTSTUB(IndexExp);
 CONSTSTUB(AssocArrayLiteralExp);
 
-unsigned Type::totym() { return 0; }
-
-type * Type::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * Type::toCParamtype()
-{
-    assert(0);
-    return 0;
-}
-Symbol * Type::toSymbol()
-{
-    assert(0);
-    return 0;
-}
-
-type *
-TypeTypedef::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type *
-TypeTypedef::toCParamtype()
-{
-    assert(0);
-    return 0;
-}
-
-void
-TypedefDeclaration::toDebug()
-{
-    assert(0);
-}
-
-
-type *
-TypeEnum::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type *
-TypeStruct::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-void
-StructDeclaration::toDebug()
-{
-    assert(0);
-}
-
-Symbol * TypeClass::toSymbol()
-{
-    assert(0);
-    return 0;
-}
-
-unsigned TypeFunction::totym()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeFunction::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeSArray::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type *TypeSArray::toCParamtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeDArray::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeAArray::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypePointer::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeDelegate::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-type * TypeClass::toCtype()
-{
-    assert(0);
-    return 0;
-}
-
-void ClassDeclaration::toDebug()
-{
-    assert(0);
-}
-
-//////////////////////////////////////////////////////////////////////////////
-
-void
-EnumDeclaration::toDebug()
-{
-    assert(0);
-}
-
-int Dsymbol::cvMember(unsigned char*)
-{
-    assert(0);
-    return 0;
-}
-int EnumDeclaration::cvMember(unsigned char*)
-{
-    assert(0);
-    return 0;
-}
-int FuncDeclaration::cvMember(unsigned char*)
-{
-    assert(0);
-    return 0;
-}
-int VarDeclaration::cvMember(unsigned char*)
-{
-    assert(0);
-    return 0;
-}
-int TypedefDeclaration::cvMember(unsigned char*)
-{
-    assert(0);
-    return 0;
-}
+//////////////////////////////////////////////////////////////////////////////////////////
 
 void obj_includelib(const char* lib)
 {