view dmd/backend/cse_t.d @ 165:25ede4f66bda

Temporarily disabled GC (again) because phobos fails to compile with it (looks like some ObjSymbols are being falsely collected, see Library.d:666) Getting rid of global state (i.e global and static variables) to allow running concurrent compilation
author korDen
date Thu, 30 Sep 2010 10:04:32 +0400
parents e28b18c23469
children
line wrap: on
line source

module dmd.backend.cse_t;

import dmd.common;
import dmd.backend.elem;
import dmd.backend.regm_t;

enum REGMAX = 10;

struct cse_t
{   
	elem* value[REGMAX];	// expression values in registers
    regm_t mval;		// mask of which values in value[] are valid
    regm_t mops;		// subset of mval that contain common subs that need
				// to be stored in csextab[] if they are destroyed
};