Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
dart::TypedDataSpecializer Class Reference

#include <call_specializer.h>

Inheritance diagram for dart::TypedDataSpecializer:
dart::FlowGraphVisitor dart::InstructionVisitor dart::ValueObject

Public Member Functions

virtual void VisitInstanceCall (InstanceCallInstr *instr)
 
virtual void VisitStaticCall (StaticCallInstr *instr)
 
- Public Member Functions inherited from dart::FlowGraphVisitor
 FlowGraphVisitor (const GrowableArray< BlockEntryInstr * > &block_order)
 
virtual ~FlowGraphVisitor ()
 
ForwardInstructionIteratorcurrent_iterator () const
 
virtual void VisitBlocks ()
 
- Public Member Functions inherited from dart::InstructionVisitor
 InstructionVisitor ()
 
virtual ~InstructionVisitor ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Static Public Member Functions

static void Optimize (FlowGraph *flow_graph)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::FlowGraphVisitor
void set_block_order (const GrowableArray< BlockEntryInstr * > &block_order)
 
- Protected Attributes inherited from dart::FlowGraphVisitor
ForwardInstructionIteratorcurrent_iterator_
 

Detailed Description

Definition at line 257 of file call_specializer.h.

Member Function Documentation

◆ Optimize()

void dart::TypedDataSpecializer::Optimize ( FlowGraph flow_graph)
static

Definition at line 1440 of file call_specializer.cc.

1440 {
1441 TypedDataSpecializer optimizer(flow_graph);
1442 optimizer.VisitBlocks();
1443}

◆ VisitInstanceCall()

void dart::TypedDataSpecializer::VisitInstanceCall ( InstanceCallInstr instr)
virtual

Definition at line 1470 of file call_specializer.cc.

1470 {
1471 TryInlineCall(call);
1472}

◆ VisitStaticCall()

void dart::TypedDataSpecializer::VisitStaticCall ( StaticCallInstr instr)
virtual

Definition at line 1474 of file call_specializer.cc.

1474 {
1475 const Function& function = call->function();
1476 if (!function.is_static()) {
1477 ASSERT(call->ArgumentCount() > 0);
1478 TryInlineCall(call);
1479 }
1480}
#define ASSERT(E)
Dart_NativeFunction function
Definition fuchsia.cc:51
call(args)
Definition dom.py:159

The documentation for this class was generated from the following files: