View source code
Display the source code in ddmd/e2ir.d from which this page was generated on github.
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 local clone.

Module ddmd.e2ir

Compiler implementation of the D programming language.


Name Description
addressElem Take address of an elem.
appendDtors Add destructors
array_toDarray Convert array to a dynamic array.
array_toPtr Convert array to a pointer to the data.
buildArrayBoundsError Construct elem to run when an array bounds check fails.
callCAssert Generate call to C's assert failure function. One of exp, emsg, or str must not be null.
clearStringTab Reset stringTab[] between object files being emitted, because the symbols are local.
filelinefunction Return an elem that is the file, line, and function suitable for insertion into the parameter list.
fillHole Generate elem to zero fill contents of Symbol stmp from *poffset..offset2. May store anywhere from 0..maxoff, as this function tries to use aligned int stores whereever possible. Update *poffset to end of initialized hole; *poffset will be >= offset2.
needsDtor Determine if t is a struct that has destructor.
needsPostblit Determine if t is a struct that has postblit.
toElemDtor Evaluate Expression, then call destructors on any temporaries in it.
toStringSymbol Write read-only string to object file, create a local symbol for it. Makes a copy of str's contents, does not keep a reference to it.
toStringSymbol Turn StringExp into Symbol.
toTraceGC Replace call to GC allocator with call to tracing GC allocator.


Walter Bright


Boost License 1.0