comparison 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
comparison
equal deleted inserted replaced
1145:40caa8207b3e 1146:1860414bf3b7
2616 CONSTSTUB(GEPExp); 2616 CONSTSTUB(GEPExp);
2617 CONSTSTUB(SliceExp); 2617 CONSTSTUB(SliceExp);
2618 CONSTSTUB(IndexExp); 2618 CONSTSTUB(IndexExp);
2619 CONSTSTUB(AssocArrayLiteralExp); 2619 CONSTSTUB(AssocArrayLiteralExp);
2620 2620
2621 unsigned Type::totym() { return 0; } 2621 //////////////////////////////////////////////////////////////////////////////////////////
2622
2623 type * Type::toCtype()
2624 {
2625 assert(0);
2626 return 0;
2627 }
2628
2629 type * Type::toCParamtype()
2630 {
2631 assert(0);
2632 return 0;
2633 }
2634 Symbol * Type::toSymbol()
2635 {
2636 assert(0);
2637 return 0;
2638 }
2639
2640 type *
2641 TypeTypedef::toCtype()
2642 {
2643 assert(0);
2644 return 0;
2645 }
2646
2647 type *
2648 TypeTypedef::toCParamtype()
2649 {
2650 assert(0);
2651 return 0;
2652 }
2653
2654 void
2655 TypedefDeclaration::toDebug()
2656 {
2657 assert(0);
2658 }
2659
2660
2661 type *
2662 TypeEnum::toCtype()
2663 {
2664 assert(0);
2665 return 0;
2666 }
2667
2668 type *
2669 TypeStruct::toCtype()
2670 {
2671 assert(0);
2672 return 0;
2673 }
2674
2675 void
2676 StructDeclaration::toDebug()
2677 {
2678 assert(0);
2679 }
2680
2681 Symbol * TypeClass::toSymbol()
2682 {
2683 assert(0);
2684 return 0;
2685 }
2686
2687 unsigned TypeFunction::totym()
2688 {
2689 assert(0);
2690 return 0;
2691 }
2692
2693 type * TypeFunction::toCtype()
2694 {
2695 assert(0);
2696 return 0;
2697 }
2698
2699 type * TypeSArray::toCtype()
2700 {
2701 assert(0);
2702 return 0;
2703 }
2704
2705 type *TypeSArray::toCParamtype()
2706 {
2707 assert(0);
2708 return 0;
2709 }
2710
2711 type * TypeDArray::toCtype()
2712 {
2713 assert(0);
2714 return 0;
2715 }
2716
2717 type * TypeAArray::toCtype()
2718 {
2719 assert(0);
2720 return 0;
2721 }
2722
2723 type * TypePointer::toCtype()
2724 {
2725 assert(0);
2726 return 0;
2727 }
2728
2729 type * TypeDelegate::toCtype()
2730 {
2731 assert(0);
2732 return 0;
2733 }
2734
2735 type * TypeClass::toCtype()
2736 {
2737 assert(0);
2738 return 0;
2739 }
2740
2741 void ClassDeclaration::toDebug()
2742 {
2743 assert(0);
2744 }
2745
2746 //////////////////////////////////////////////////////////////////////////////
2747
2748 void
2749 EnumDeclaration::toDebug()
2750 {
2751 assert(0);
2752 }
2753
2754 int Dsymbol::cvMember(unsigned char*)
2755 {
2756 assert(0);
2757 return 0;
2758 }
2759 int EnumDeclaration::cvMember(unsigned char*)
2760 {
2761 assert(0);
2762 return 0;
2763 }
2764 int FuncDeclaration::cvMember(unsigned char*)
2765 {
2766 assert(0);
2767 return 0;
2768 }
2769 int VarDeclaration::cvMember(unsigned char*)
2770 {
2771 assert(0);
2772 return 0;
2773 }
2774 int TypedefDeclaration::cvMember(unsigned char*)
2775 {
2776 assert(0);
2777 return 0;
2778 }
2779 2622
2780 void obj_includelib(const char* lib) 2623 void obj_includelib(const char* lib)
2781 { 2624 {
2782 size_t n = strlen(lib)+3; 2625 size_t n = strlen(lib)+3;
2783 char *arg = (char *)mem.malloc(n); 2626 char *arg = (char *)mem.malloc(n);