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

#include <il.h>

Inheritance diagram for dart::GuardFieldTypeInstr:
dart::GuardFieldInstr dart::TemplateInstruction< 1, NoThrow, Pure >

Public Member Functions

 GuardFieldTypeInstr (Value *value, const Field &field, intptr_t deopt_id)
 
virtual InstructionCanonicalize (FlowGraph *flow_graph)
 
virtual bool AttributesEqual (const Instruction &other) const
 
- Public Member Functions inherited from dart::GuardFieldInstr
 GuardFieldInstr (Value *value, const Field &field, intptr_t deopt_id)
 
Valuevalue () const
 
const Fieldfield () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool CanBecomeDeoptimizationTarget () const
 
- Public Member Functions inherited from dart::TemplateInstruction< 1, NoThrow, Pure >
 TemplateInstruction (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateInstruction (const InstructionSource &source, intptr_t deopt_id=DeoptId::kNone)
 
virtual intptr_t InputCount () const
 
virtual ValueInputAt (intptr_t i) const
 
virtual bool MayThrow () const
 

Additional Inherited Members

- Public Types inherited from dart::TemplateInstruction< 1, NoThrow, Pure >
using BaseClass = typename Pure< Instruction, PureInstruction >::Base
 
- Protected Attributes inherited from dart::TemplateInstruction< 1, NoThrow, Pure >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 6541 of file il.h.

Constructor & Destructor Documentation

◆ GuardFieldTypeInstr()

dart::GuardFieldTypeInstr::GuardFieldTypeInstr ( Value value,
const Field field,
intptr_t  deopt_id 
)
inline

Definition at line 6543 of file il.h.

6544 : GuardFieldInstr(value, field, deopt_id) {
6545 CheckField(field);
6546 }
const Field & field() const
Definition il.h:6476
Value * value() const
Definition il.h:6474
GuardFieldInstr(Value *value, const Field &field, intptr_t deopt_id)
Definition il.h:6468

Member Function Documentation

◆ AttributesEqual()

bool dart::GuardFieldTypeInstr::AttributesEqual ( const Instruction other) const
virtual

Definition at line 1058 of file il.cc.

1058 {
1059 return field().ptr() == other.AsGuardFieldType()->field().ptr();
1060}
ObjectPtr ptr() const
Definition object.h:332

◆ Canonicalize()

Instruction * dart::GuardFieldTypeInstr::Canonicalize ( FlowGraph flow_graph)
virtual

Definition at line 3981 of file il.cc.

3981 {
3983 : nullptr;
3984}
StaticTypeExactnessState static_type_exactness_state() const
Definition object.h:4606

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