Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
dart::AssertAssignableInstr Class Reference

#include <il.h>

Inheritance diagram for dart::AssertAssignableInstr:
dart::TemplateDefinition< 4, Throws, Pure > dart::PureDefinition dart::Definition dart::Instruction dart::ZoneAllocated

Public Types

enum  Kind { FOR_EACH_ASSERT_ASSIGNABLE_KIND =(KIND_DEFN) }
 
enum  {
  kInstancePos = 0 , kDstTypePos = 1 , kInstantiatorTAVPos = 2 , kFunctionTAVPos = 3 ,
  kNumInputs = 4
}
 
- Public Types inherited from dart::TemplateDefinition< 4, Throws, Pure >
using BaseClass = typename Pure< Definition, PureDefinition >::Base
 
- Public Types inherited from dart::Instruction
enum  Tag { FOR_EACH_INSTRUCTION =(DECLARE_TAG) kNumInstructions }
 
enum  SpeculativeMode { kGuardInputs , kNotSpeculative }
 
using InputsIterable = InstructionIndexedPropertyIterable< InputsTrait >
 
using SuccessorsIterable = InstructionIndexedPropertyIterable< SuccessorsTrait >
 

Public Member Functions

 AssertAssignableInstr (const InstructionSource &source, Value *value, Value *dst_type, Value *instantiator_type_arguments, Value *function_type_arguments, const String &dst_name, intptr_t deopt_id, Kind kind=kUnknown)
 
virtual intptr_t statistics_tag () const
 
virtual CompileType ComputeType () const
 
virtual bool RecomputeType ()
 
Valuevalue () const
 
Valuedst_type () const
 
Valueinstantiator_type_arguments () const
 
Valuefunction_type_arguments () const
 
virtual TokenPosition token_pos () const
 
const Stringdst_name () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool ComputeCanDeoptimizeAfterCall () const
 
virtual intptr_t NumberOfInputsConsumedBeforeCall () const
 
virtual bool CanBecomeDeoptimizationTarget () const
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual ValueRedefinedValue () const
 
virtual void InferRange (RangeAnalysis *analysis, Range *range)
 
- Public Member Functions inherited from dart::TemplateDefinition< 4, Throws, Pure >
 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
 
- Public Member Functions inherited from dart::PureDefinition
 PureDefinition (intptr_t deopt_id)
 
 PureDefinition (const InstructionSource &source, intptr_t deopt_id)
 
virtual bool AllowsCSE () const
 
virtual bool HasUnknownSideEffects () const
 
- Public Member Functions inherited from dart::Definition
 Definition (intptr_t deopt_id=DeoptId::kNone)
 
 Definition (const InstructionSource &source, intptr_t deopt_id=DeoptId::kNone)
 
virtual intptr_t CallCount () const
 
intptr_t temp_index () const
 
void set_temp_index (intptr_t index)
 
void ClearTempIndex ()
 
bool HasTemp () const
 
intptr_t ssa_temp_index () const
 
void set_ssa_temp_index (intptr_t index)
 
bool HasSSATemp () const
 
void ClearSSATempIndex ()
 
intptr_t vreg (intptr_t index) const
 
intptr_t location_count () const
 
bool HasPairRepresentation () const
 
CompileTypeType ()
 
bool HasType () const
 
bool IsInt64Definition ()
 
bool IsInt32Definition ()
 
virtual CompileType ComputeType () const
 
virtual bool RecomputeType ()
 
PRINT_OPERANDS_TO_SUPPORT PRINT_TO_SUPPORT bool UpdateType (CompileType new_type)
 
bool HasUses () const
 
bool HasOnlyUse (Value *use) const
 
bool HasOnlyInputUse (Value *use) const
 
Valueinput_use_list () const
 
void set_input_use_list (Value *head)
 
Valueenv_use_list () const
 
void set_env_use_list (Value *head)
 
ValueListIterable input_uses () const
 
void AddInputUse (Value *value)
 
void AddEnvUse (Value *value)
 
virtual bool MayCreateUnsafeUntaggedPointer () const
 
virtual bool CanReplaceWithConstant () const
 
virtual bool CanEliminate (const BlockEntryInstr *block) const
 
void ReplaceUsesWith (Definition *other)
 
void ReplaceWithResult (Instruction *replacement, Definition *replacement_for_uses, ForwardInstructionIterator *iterator)
 
void ReplaceWith (Definition *other, ForwardInstructionIterator *iterator)
 
Objectconstant_value ()
 
virtual void InferRange (RangeAnalysis *analysis, Range *range)
 
Rangerange () const
 
void set_range (const Range &)
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
DefinitionReplacement ()
 
void SetReplacement (Definition *other)
 
virtual AliasIdentity Identity () const
 
virtual void SetIdentity (AliasIdentity identity)
 
DefinitionOriginalDefinition ()
 
virtual ValueRedefinedValue () const
 
DefinitionOriginalDefinitionIgnoreBoxingAndConstraints ()
 
virtual DefinitionAsDefinition ()
 
virtual const DefinitionAsDefinition () const
 
- Public Member Functions inherited from dart::Instruction
 Instruction (const InstructionSource &source, intptr_t deopt_id=DeoptId::kNone)
 
 Instruction (intptr_t deopt_id=DeoptId::kNone)
 
virtual ~Instruction ()
 
virtual Tag tag () const =0
 
virtual intptr_t statistics_tag () const
 
intptr_t deopt_id () const
 
virtual TokenPosition token_pos () const
 
InstructionSource source () const
 
virtual intptr_t InputCount () const =0
 
virtual ValueInputAt (intptr_t i) const =0
 
void SetInputAt (intptr_t i, Value *value)
 
InputsIterable inputs ()
 
void UnuseAllInputs ()
 
virtual intptr_t ArgumentCount () const
 
ValueArgumentValueAt (intptr_t index) const
 
DefinitionArgumentAt (intptr_t index) const
 
virtual void SetMoveArguments (MoveArgumentsArray *move_arguments)
 
virtual MoveArgumentsArrayGetMoveArguments () const
 
virtual void ReplaceInputsWithMoveArguments (MoveArgumentsArray *move_arguments)
 
bool HasMoveArguments () const
 
void RepairArgumentUsesInEnvironment () const
 
virtual bool ComputeCanDeoptimize () const =0
 
virtual bool ComputeCanDeoptimizeAfterCall () const
 
bool CanDeoptimize () const
 
virtual void Accept (InstructionVisitor *visitor)=0
 
Instructionprevious () const
 
void set_previous (Instruction *instr)
 
Instructionnext () const
 
void set_next (Instruction *instr)
 
void LinkTo (Instruction *next)
 
InstructionRemoveFromGraph (bool return_previous=true)
 
virtual intptr_t SuccessorCount () const
 
virtual BlockEntryInstrSuccessorAt (intptr_t index) const
 
SuccessorsIterable successors () const
 
void Goto (JoinEntryInstr *entry)
 
virtual const char * DebugName () const =0
 
void CheckField (const Field &field) const
 
const char * ToCString () const
 
 DECLARE_INSTRUCTION_TYPE_CHECK (BlockEntryWithInitialDefs, BlockEntryWithInitialDefs) template< typename T > T *Cast()
 
template<typename T >
const TCast () const
 
LocationSummarylocs ()
 
bool HasLocs () const
 
virtual LocationSummaryMakeLocationSummary (Zone *zone, bool is_optimizing) const =0
 
void InitializeLocationSummary (Zone *zone, bool optimizing)
 
virtual void EmitNativeCode (FlowGraphCompiler *compiler)
 
Environmentenv () const
 
void SetEnvironment (Environment *deopt_env)
 
void RemoveEnvironment ()
 
void ReplaceInEnvironment (Definition *current, Definition *replacement)
 
virtual intptr_t NumberOfInputsConsumedBeforeCall () const
 
intptr_t GetPassSpecificId (CompilerPass::Id pass) const
 
void SetPassSpecificId (CompilerPass::Id pass, intptr_t id)
 
bool HasPassSpecificId (CompilerPass::Id pass) const
 
bool HasUnmatchedInputRepresentations () const
 
virtual Representation RequiredInputRepresentation (intptr_t idx) const
 
SpeculativeMode SpeculativeModeOfInputs () const
 
virtual SpeculativeMode SpeculativeModeOfInput (intptr_t index) const
 
virtual Representation representation () const
 
bool WasEliminated () const
 
virtual intptr_t DeoptimizationTarget () const
 
virtual InstructionCanonicalize (FlowGraph *flow_graph)
 
void InsertBefore (Instruction *next)
 
void InsertAfter (Instruction *prev)
 
InstructionAppendInstruction (Instruction *tail)
 
virtual bool AllowsCSE () const
 
virtual bool HasUnknownSideEffects () const =0
 
virtual bool CanCallDart () const
 
virtual bool CanTriggerGC () const
 
virtual BlockEntryInstrGetBlock ()
 
virtual intptr_t inlining_id () const
 
virtual void set_inlining_id (intptr_t value)
 
virtual bool has_inlining_id () const
 
virtual uword Hash () const
 
bool Equals (const Instruction &other) const
 
virtual bool AttributesEqual (const Instruction &other) const
 
void InheritDeoptTarget (Zone *zone, Instruction *other)
 
bool NeedsEnvironment () const
 
virtual bool CanBecomeDeoptimizationTarget () const
 
void InheritDeoptTargetAfter (FlowGraph *flow_graph, Definition *call, Definition *result)
 
virtual bool MayThrow () const =0
 
virtual bool MayHaveVisibleEffect () const
 
virtual bool CanEliminate (const BlockEntryInstr *block) const
 
bool CanEliminate ()
 
bool IsDominatedBy (Instruction *dom)
 
void ClearEnv ()
 
void Unsupported (FlowGraphCompiler *compiler)
 
virtual bool UseSharedSlowPathStub (bool is_optimizing) const
 
Location::Kind RegisterKindForResult () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Static Public Member Functions

static const char * KindToCString (Kind kind)
 
static bool ParseKind (const char *str, Kind *out)
 
- Static Public Member Functions inherited from dart::Definition
static bool IsArrayLength (Definition *def)
 
- Static Public Member Functions inherited from dart::Instruction
static const ICDataGetICData (const ZoneGrowableArray< const ICData * > &ic_data_array, intptr_t deopt_id, bool is_static_call)
 
static LocationSummaryMakeCallSummary (Zone *zone, const Instruction *instr, LocationSummary *locs=nullptr)
 
static bool SlowPathSharingSupported (bool is_optimizing)
 

Additional Inherited Members

- Static Public Attributes inherited from dart::Definition
static constexpr intptr_t kReplacementMarker = -2
 
- Static Public Attributes inherited from dart::Instruction
static const intptr_t kInstructionAttrs [kNumInstructions]
 
- Protected Member Functions inherited from dart::Definition
void set_type (CompileType *type)
 
- Protected Member Functions inherited from dart::Instruction
intptr_t GetDeoptId () const
 
virtual void CopyDeoptIdFrom (const Instruction &instr)
 
void WriteExtraWithoutInputs (FlowGraphSerializer *s)
 
void ReadExtraWithoutInputs (FlowGraphDeserializer *d)
 
- Protected Attributes inherited from dart::TemplateDefinition< 4, Throws, Pure >
EmbeddedArray< Value *, Ninputs_
 
- Protected Attributes inherited from dart::Definition
Rangerange_ = nullptr
 

Detailed Description

Definition at line 4374 of file il.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kInstancePos 
kDstTypePos 
kInstantiatorTAVPos 
kFunctionTAVPos 
kNumInputs 

Definition at line 4389 of file il.h.

◆ Kind

Enumerator
FOR_EACH_ASSERT_ASSIGNABLE_KIND 

Definition at line 4383 of file il.h.

#define KIND_DEFN(name)
Definition: il.h:4382

Constructor & Destructor Documentation

◆ AssertAssignableInstr()

dart::AssertAssignableInstr::AssertAssignableInstr ( const InstructionSource source,
Value value,
Value dst_type,
Value instantiator_type_arguments,
Value function_type_arguments,
const String dst_name,
intptr_t  deopt_id,
Kind  kind = kUnknown 
)
inline

Definition at line 4397 of file il.h.

4406 token_pos_(source.token_pos),
4407 dst_name_(dst_name),
4408 kind_(kind) {
4414 }
Value * dst_type() const
Definition: il.h:4423
const String & dst_name() const
Definition: il.h:4430
Value * value() const
Definition: il.h:4422
Value * function_type_arguments() const
Definition: il.h:4427
Value * instantiator_type_arguments() const
Definition: il.h:4424
void SetInputAt(intptr_t i, Value *value)
Definition: il.h:1014
InstructionSource source() const
Definition: il.h:1008
intptr_t deopt_id() const
Definition: il.h:993
bool IsNull() const
Definition: object.h:363
TemplateDefinition(intptr_t deopt_id=DeoptId::kNone)
Definition: il.h:2749
#define ASSERT(E)
const TokenPosition token_pos

Member Function Documentation

◆ AttributesEqual()

virtual bool dart::AssertAssignableInstr::AttributesEqual ( const Instruction other) const
inlinevirtual

Reimplemented from dart::Instruction.

Definition at line 4456 of file il.h.

4456{ return true; }

◆ CanBecomeDeoptimizationTarget()

virtual bool dart::AssertAssignableInstr::CanBecomeDeoptimizationTarget ( ) const
inlinevirtual

Reimplemented from dart::Instruction.

Definition at line 4448 of file il.h.

4448 {
4449 // AssertAssignable instructions that are specialized by the optimizer
4450 // (e.g. replaced with CheckClass) need a deoptimization descriptor before.
4451 return true;
4452 }

◆ Canonicalize()

Definition * dart::AssertAssignableInstr::Canonicalize ( FlowGraph flow_graph)
virtual

Reimplemented from dart::Definition.

Definition at line 3073 of file il.cc.

3073 {
3074 // We need dst_type() to be a constant AbstractType to perform any
3075 // canonicalization.
3076 if (!dst_type()->BindsToConstant()) return this;
3077 const auto& abs_type = AbstractType::Cast(dst_type()->BoundConstant());
3078
3079 if (abs_type.IsTopTypeForSubtyping() ||
3080 (FLAG_eliminate_type_checks &&
3081 value()->Type()->IsAssignableTo(abs_type))) {
3082 return value()->definition();
3083 }
3084 if (abs_type.IsInstantiated()) {
3085 return this;
3086 }
3087
3088 // For uninstantiated target types: If the instantiator and function
3089 // type arguments are constant, instantiate the target type here.
3090 // Note: these constant type arguments might not necessarily correspond
3091 // to the correct instantiator because AssertAssignable might
3092 // be located in the unreachable part of the graph (e.g.
3093 // it might be dominated by CheckClass that always fails).
3094 // This means that the code below must guard against such possibility.
3095 Thread* thread = Thread::Current();
3096 Zone* Z = thread->zone();
3097
3098 const TypeArguments* instantiator_type_args = nullptr;
3099 const TypeArguments* function_type_args = nullptr;
3100
3101 if (instantiator_type_arguments()->BindsToConstant()) {
3102 const Object& val = instantiator_type_arguments()->BoundConstant();
3103 instantiator_type_args = (val.ptr() == TypeArguments::null())
3104 ? &TypeArguments::null_type_arguments()
3105 : &TypeArguments::Cast(val);
3106 }
3107
3108 if (function_type_arguments()->BindsToConstant()) {
3109 const Object& val = function_type_arguments()->BoundConstant();
3110 function_type_args =
3111 (val.ptr() == TypeArguments::null())
3112 ? &TypeArguments::null_type_arguments()
3113 : &TypeArguments::Cast(function_type_arguments()->BoundConstant());
3114 }
3115
3116 // If instantiator_type_args are not constant try to match the pattern
3117 // obj.field.:type_arguments where field's static type exactness state
3118 // tells us that all values stored in the field have exact superclass.
3119 // In this case we know the prefix of the actual type arguments vector
3120 // and can try to instantiate the type using just the prefix.
3121 //
3122 // Note: TypeParameter::InstantiateFrom returns an error if we try
3123 // to instantiate it from a vector that is too short.
3124 if (instantiator_type_args == nullptr) {
3125 if (LoadFieldInstr* load_type_args =
3126 instantiator_type_arguments()->definition()->AsLoadField()) {
3127 if (load_type_args->slot().IsTypeArguments()) {
3128 if (LoadFieldInstr* load_field = load_type_args->instance()
3129 ->definition()
3130 ->OriginalDefinition()
3131 ->AsLoadField()) {
3132 if (load_field->slot().IsDartField() &&
3133 load_field->slot()
3134 .field()
3135 .static_type_exactness_state()
3136 .IsHasExactSuperClass()) {
3137 instantiator_type_args = &TypeArguments::Handle(
3138 Z, Type::Cast(AbstractType::Handle(
3139 Z, load_field->slot().field().type()))
3140 .GetInstanceTypeArguments(thread));
3141 }
3142 }
3143 }
3144 }
3145 }
3146
3147 if ((instantiator_type_args != nullptr) && (function_type_args != nullptr)) {
3148 AbstractType& new_dst_type = AbstractType::Handle(
3149 Z, abs_type.InstantiateFrom(*instantiator_type_args,
3150 *function_type_args, kAllFree, Heap::kOld));
3151 if (new_dst_type.IsNull()) {
3152 // Failed instantiation in dead code.
3153 return this;
3154 }
3155 new_dst_type = new_dst_type.Canonicalize(Thread::Current());
3156
3157 // Successfully instantiated destination type: update the type attached
3158 // to this instruction and set type arguments to null because we no
3159 // longer need them (the type was instantiated).
3160 dst_type()->BindTo(flow_graph->GetConstant(new_dst_type));
3161 instantiator_type_arguments()->BindTo(flow_graph->constant_null());
3162 function_type_arguments()->BindTo(flow_graph->constant_null());
3163
3164 if (new_dst_type.IsTopTypeForSubtyping() ||
3165 (FLAG_eliminate_type_checks &&
3166 value()->Type()->IsAssignableTo(new_dst_type))) {
3167 return value()->definition();
3168 }
3169 }
3170 return this;
3171}
CompileType * Type()
Definition: il.h:2521
@ kOld
Definition: heap.h:39
static ObjectPtr null()
Definition: object.h:433
static Object & Handle()
Definition: object.h:407
static Thread * Current()
Definition: thread.h:362
const Object & BoundConstant() const
Definition: il.cc:1201
Definition * definition() const
Definition: il.h:103
void BindTo(Definition *definition)
Definition: il.h:2718
#define Z
Definition: il.cc:7430
@ kAllFree
Definition: object.h:2940

◆ ComputeCanDeoptimize()

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

Implements dart::Instruction.

Definition at line 4432 of file il.h.

4432{ return false; }

◆ ComputeCanDeoptimizeAfterCall()

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

Reimplemented from dart::Instruction.

Definition at line 4433 of file il.h.

4433 {
4434 return !CompilerState::Current().is_aot();
4435 }
bool is_aot() const
static CompilerState & Current()

◆ ComputeType()

CompileType dart::AssertAssignableInstr::ComputeType ( ) const
virtual

Reimplemented from dart::Definition.

Definition at line 1373 of file type_propagator.cc.

1373 {
1374 CompileType* value_type = value()->Type();
1375
1376 const AbstractType* abs_type = &AbstractType::dynamic_type();
1377 if (dst_type()->BindsToConstant() &&
1378 dst_type()->BoundConstant().IsAbstractType()) {
1379 abs_type = &AbstractType::Cast(dst_type()->BoundConstant());
1380 if (value_type->IsSubtypeOf(*abs_type)) {
1381 return *value_type;
1382 }
1383 }
1384 return CompileType::FromAbstractType(*abs_type, value_type->is_nullable(),
1386}
static constexpr bool kCannotBeSentinel
Definition: compile_type.h:49
static CompileType FromAbstractType(const AbstractType &type, bool can_be_null, bool can_be_sentinel)
CompileType * Type()

◆ dst_name()

const String & dart::AssertAssignableInstr::dst_name ( ) const
inline

Definition at line 4430 of file il.h.

4430{ return dst_name_; }

◆ dst_type()

Value * dart::AssertAssignableInstr::dst_type ( ) const
inline

Definition at line 4423 of file il.h.

4423{ return inputs_[kDstTypePos]; }
EmbeddedArray< Value *, N > inputs_
Definition: il.h:2762

◆ function_type_arguments()

Value * dart::AssertAssignableInstr::function_type_arguments ( ) const
inline

Definition at line 4427 of file il.h.

4427{ return inputs_[kFunctionTAVPos]; }

◆ InferRange()

void dart::AssertAssignableInstr::InferRange ( RangeAnalysis analysis,
Range range 
)
virtual

Reimplemented from dart::Definition.

Definition at line 3146 of file range_analysis.cc.

3146 {
3147 const Range* value_range = value()->definition()->range();
3148 if (!Range::IsUnknown(value_range)) {
3149 *range = *value_range;
3150 } else {
3152 }
3153}
Range * range() const
Definition: il.h:2636
static bool IsUnknown(const Range *other)
static Range Full(RangeBoundary::RangeSize size)

◆ instantiator_type_arguments()

Value * dart::AssertAssignableInstr::instantiator_type_arguments ( ) const
inline

Definition at line 4424 of file il.h.

4424 {
4426 }

◆ KindToCString()

const char * dart::AssertAssignableInstr::KindToCString ( Kind  kind)
static

Definition at line 816 of file il.cc.

816 {
817 switch (kind) {
818#define KIND_CASE(name) \
819 case k##name: \
820 return #name;
822#undef KIND_CASE
823 default:
824 UNREACHABLE();
825 return nullptr;
826 }
827}
#define UNREACHABLE()
Definition: assert.h:248
#define KIND_CASE(name)

◆ NumberOfInputsConsumedBeforeCall()

virtual intptr_t dart::AssertAssignableInstr::NumberOfInputsConsumedBeforeCall ( ) const
inlinevirtual

Reimplemented from dart::Instruction.

Definition at line 4436 of file il.h.

4436 {
4437#if !defined(TARGET_ARCH_IA32)
4438 return InputCount();
4439#else
4440 // The ia32 implementation calls the stub by pushing the input registers
4441 // in the same order onto the stack thereby making the deopt-env correct.
4442 // (Due to lack of registers we cannot use all-argument calling convention
4443 // as in other architectures.)
4444 return 0;
4445#endif
4446 }
virtual intptr_t InputCount() const
Definition: il.h:2755

◆ ParseKind()

bool dart::AssertAssignableInstr::ParseKind ( const char *  str,
Kind out 
)
static

Definition at line 829 of file il.cc.

829 {
830#define KIND_CASE(name) \
831 if (strcmp(str, #name) == 0) { \
832 *out = Kind::k##name; \
833 return true; \
834 }
836#undef KIND_CASE
837 return false;
838}

◆ RecomputeType()

bool dart::AssertAssignableInstr::RecomputeType ( )
virtual

Reimplemented from dart::Definition.

Definition at line 1388 of file type_propagator.cc.

1388 {
1389 return UpdateType(ComputeType());
1390}
virtual CompileType ComputeType() const
PRINT_OPERANDS_TO_SUPPORT PRINT_TO_SUPPORT bool UpdateType(CompileType new_type)
Definition: il.h:2553

◆ RedefinedValue()

Value * dart::AssertAssignableInstr::RedefinedValue ( ) const
virtual

Reimplemented from dart::Definition.

Definition at line 549 of file il.cc.

549 {
550 return value();
551}

◆ statistics_tag()

intptr_t dart::AssertAssignableInstr::statistics_tag ( ) const
virtual

Reimplemented from dart::Instruction.

Definition at line 6020 of file il.cc.

6020 {
6021 switch (kind_) {
6022 case kParameterCheck:
6024 case kInsertedByFrontend:
6026 case kFromSource:
6028 case kUnknown:
6029 break;
6030 }
6031
6032 return tag();
6033}
virtual Tag tag() const =0

◆ token_pos()

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

Reimplemented from dart::Instruction.

Definition at line 4429 of file il.h.

4429{ return token_pos_; }

◆ value()

Value * dart::AssertAssignableInstr::value ( ) const
inline

Definition at line 4422 of file il.h.

4422{ return inputs_[kInstancePos]; }

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