Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ReachingDefs Class Reference

#include <linearscan.h>

Inheritance diagram for dart::ReachingDefs:
dart::ValueObject

Public Member Functions

 ReachingDefs (const FlowGraph &flow_graph)
 
BitVectorGet (PhiInstr *phi)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 24 of file linearscan.h.

Constructor & Destructor Documentation

◆ ReachingDefs()

dart::ReachingDefs::ReachingDefs ( const FlowGraph flow_graph)
inlineexplicit

Definition at line 26 of file linearscan.h.

27 : flow_graph_(flow_graph), phis_(10) {}

Member Function Documentation

◆ Get()

BitVector * dart::ReachingDefs::Get ( PhiInstr phi)

Definition at line 2312 of file linearscan.cc.

2312 {
2313 if (phi->reaching_defs() == nullptr) {
2314 ASSERT(phis_.is_empty());
2315 AddPhi(phi);
2316 Compute();
2317 }
2318 return phi->reaching_defs();
2319}
#define ASSERT(E)

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