Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
dart::CallSites::CallInfo< CallType > Struct Template Reference

Public Member Functions

 CallInfo (FlowGraph *caller_graph, CallType *call, intptr_t call_depth, intptr_t nesting_depth)
 
const Functioncaller () const
 

Public Attributes

FlowGraphcaller_graph
 
CallType * call
 
intptr_t call_depth
 
intptr_t nesting_depth
 
intptr_t call_count
 
double ratio = 0.0
 

Detailed Description

template<typename CallType>
struct dart::CallSites::CallInfo< CallType >

Definition at line 264 of file inliner.cc.

Constructor & Destructor Documentation

◆ CallInfo()

template<typename CallType >
dart::CallSites::CallInfo< CallType >::CallInfo ( FlowGraph caller_graph,
CallType *  call,
intptr_t  call_depth,
intptr_t  nesting_depth 
)
inline

Definition at line 272 of file inliner.cc.

277 call(call),
280 if (CompilerState::Current().is_aot()) {
282 } else {
283 call_count = call->CallCount();
284 }
285 }
static CompilerState & Current()
static intptr_t AotCallCountApproximation(intptr_t nesting_depth)
Definition: inliner.cc:244
FlowGraph * caller_graph
Definition: inliner.cc:265

Member Function Documentation

◆ caller()

template<typename CallType >
const Function & dart::CallSites::CallInfo< CallType >::caller ( ) const
inline

Definition at line 287 of file inliner.cc.

287{ return caller_graph->function(); }
const Function & function() const
Definition: flow_graph.h:130

Member Data Documentation

◆ call

template<typename CallType >
CallType* dart::CallSites::CallInfo< CallType >::call

Definition at line 266 of file inliner.cc.

◆ call_count

template<typename CallType >
intptr_t dart::CallSites::CallInfo< CallType >::call_count

Definition at line 269 of file inliner.cc.

◆ call_depth

template<typename CallType >
intptr_t dart::CallSites::CallInfo< CallType >::call_depth

Definition at line 267 of file inliner.cc.

◆ caller_graph

template<typename CallType >
FlowGraph* dart::CallSites::CallInfo< CallType >::caller_graph

Definition at line 265 of file inliner.cc.

◆ nesting_depth

template<typename CallType >
intptr_t dart::CallSites::CallInfo< CallType >::nesting_depth

Definition at line 268 of file inliner.cc.

◆ ratio

template<typename CallType >
double dart::CallSites::CallInfo< CallType >::ratio = 0.0

Definition at line 270 of file inliner.cc.


The documentation for this struct was generated from the following file: