view dmd/backend/cse_t.d @ 175:94b6033c07f3

get rid of globals malloc -> GC.malloc
author korDen
date Sun, 10 Oct 2010 03:48:06 +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
};