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.
ddmd.s2ir
Compiler implementation of the
D programming language.
Authors:
License:
Source: s2ir.d
- void
setScopeIndex
(Blockx*blx
, block*b
, intscope_index
); - Generate code to set index into scope table.
- block*
block_calloc
(Blockx*blx
); - Allocate a new block, and set the tryblock.
- Label*
getLabel
(IRState*irs
, Blockx*blx
, Statements
); - Get or create a label declaration.
- block*
labelToBlock
(IRState*irs
, Locloc
, Blockx*blx
, LabelDsymbollabel
, intflag
= 0); - Convert
label
to block. - void
incUsage
(IRState*irs
, Locloc
); - Add in code to increment usage count for linnum.
- void
insertFinallyBlockCalls
(block*startblock
); - Insert finally block calls when doing a goto from inside a try block to outside. Done after blocks are generated because then we know all the edges of the graph, but before the Bpred's are computed.Parameters:
block* startblock
first block in function
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on (no date time)