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.
Compiler implementation of the D programming language.
- pure nothrow bool
- Determine if too expensive to inline.Parameters:
cost of inliningReturns:true if too costly
- Determine cost of inlining ExpressionParameters:
Expression to determine cost ofReturns:cost of inlining e
- Determine cost of inlining functionParameters:
function to determine cost of bool
if the function call has explicit 'this' expression bool
if generating a header fileReturns:cost of inlining fd
- Indicates if a nested aggregate prevents or not a function to be inlined. It's used to compute the cost but also to avoid a copy of the aggregate while the inliner processes.Parameters:
the declaration expression that may represent an aggregate.Returns:null if
eis not an aggregate or if it is an aggregate that doesn't permit inlining, and the aggregate otherwise.