Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.backend.code

Compiler implementation of the D programming language.
Authors:
struct _Declaration;
Code data type
code* code_calloc();
PUBLIC FUNCTIONS
enum int CSEload;
Table of common subexpressions stored on the stack. csextab[] array of info on saved CSEs CSEpe pointer to saved elem CSEregm mask of register that was saved (so for multi- register variables we know which part we have)
struct REGSAVE;
Register save state.
struct LocalSection;
Local sections on the stack
uint usednteh;
As we generate code, collect information about what parts of NT exception handling we need.
struct CGstate;
Code Generator State
struct FuncParamRegs;
void regimmed_set(int reg, targ_size_t e);
Set value in regimmed for reg.

NOTE For 16 bit generator, this is always a (targ_short) sign-extended value.