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

#include <il.h>

Inheritance diagram for dart::NativeParameterInstr:
dart::TemplateDefinition< 0, NoThrow >

Public Member Functions

 NativeParameterInstr (const compiler::ffi::CallbackMarshaller &marshaller, intptr_t def_index)
 
virtual Representation representation () const
 
virtual bool MayCreateUnsafeUntaggedPointer () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool HasUnknownSideEffects () const
 
- Public Member Functions inherited from dart::TemplateDefinition< 0, NoThrow >
 TemplateDefinition (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateDefinition (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::TemplateDefinition< 0, NoThrow >
using BaseClass = typename NoCSE< Definition, PureDefinition >::Base
 
- Protected Attributes inherited from dart::TemplateDefinition< 0, NoThrow >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 2979 of file il.h.

Constructor & Destructor Documentation

◆ NativeParameterInstr()

dart::NativeParameterInstr::NativeParameterInstr ( const compiler::ffi::CallbackMarshaller marshaller,
intptr_t  def_index 
)
inline

Definition at line 2981 of file il.h.

2983 : marshaller_(marshaller), def_index_(def_index) {}

Member Function Documentation

◆ ComputeCanDeoptimize()

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

Definition at line 2997 of file il.h.

2997{ return false; }

◆ HasUnknownSideEffects()

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

Definition at line 2999 of file il.h.

2999{ return false; }

◆ MayCreateUnsafeUntaggedPointer()

virtual bool dart::NativeParameterInstr::MayCreateUnsafeUntaggedPointer ( ) const
inlinevirtual

Definition at line 2991 of file il.h.

2991 {
2992 // Untagged values flowing into Dart code via callbacks are external
2993 // pointers that are then converted into Dart objects in the IL.
2994 return false;
2995 }

◆ representation()

virtual Representation dart::NativeParameterInstr::representation ( ) const
inlinevirtual

Definition at line 2987 of file il.h.

2987 {
2988 return marshaller_.RepInFfiCall(def_index_);
2989 }

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