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

#include <il.h>

Inheritance diagram for dart::ThrowInstr:
dart::TemplateInstruction< 1, Throws >

Public Member Functions

 ThrowInstr (const InstructionSource &source, intptr_t deopt_id, Value *exception)
 
virtual TokenPosition token_pos () const
 
Valueexception () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool ComputeCanDeoptimizeAfterCall () const
 
virtual bool HasUnknownSideEffects () const
 
- Public Member Functions inherited from dart::TemplateInstruction< 1, Throws >
 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, Throws >
using BaseClass = typename NoCSE< Instruction, PureInstruction >::Base
 
- Protected Attributes inherited from dart::TemplateInstruction< 1, Throws >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 3582 of file il.h.

Constructor & Destructor Documentation

◆ ThrowInstr()

dart::ThrowInstr::ThrowInstr ( const InstructionSource source,
intptr_t  deopt_id,
Value exception 
)
inlineexplicit

Definition at line 3584 of file il.h.

3587 : TemplateInstruction(source, deopt_id), token_pos_(source.token_pos) {
3588 SetInputAt(0, exception);
3589 }
TemplateInstruction(intptr_t deopt_id=DeoptId::kNone)
Definition il.h:1501
Value * exception() const
Definition il.h:3594
SkBitmap source
Definition examples.cpp:28

Member Function Documentation

◆ ComputeCanDeoptimize()

virtual bool dart::ThrowInstr::ComputeCanDeoptimize ( ) const
inlinevirtual

Definition at line 3596 of file il.h.

3596{ return false; }

◆ ComputeCanDeoptimizeAfterCall()

virtual bool dart::ThrowInstr::ComputeCanDeoptimizeAfterCall ( ) const
inlinevirtual

Definition at line 3597 of file il.h.

3597 {
3598 return !CompilerState::Current().is_aot();
3599 }
static CompilerState & Current()

◆ exception()

Value * dart::ThrowInstr::exception ( ) const
inline

Definition at line 3594 of file il.h.

3594{ return inputs_[0]; }
EmbeddedArray< Value *, N > inputs_
Definition il.h:1516

◆ HasUnknownSideEffects()

virtual bool dart::ThrowInstr::HasUnknownSideEffects ( ) const
inlinevirtual

Definition at line 3601 of file il.h.

3601{ return false; }

◆ token_pos()

virtual TokenPosition dart::ThrowInstr::token_pos ( ) const
inlinevirtual

Definition at line 3593 of file il.h.

3593{ return token_pos_; }

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