Lines Matching refs:field
585 field_imm(decoder, pc + struct_imm.length, "field index"),
1025 const FieldImmediate<validate>& field, bool is_signed, Value* result) \
1027 const FieldImmediate<validate>& field, const Value& field_value) \
1295 DecodeError(pc + imm.struct_imm.length, "invalid field index: %u",
2153 // this {ZoneVector}. Hence save one field and just get it from there if
3691 ValidateArgType(args, i, type->field(i).Unpacked());
3695 // Drops a number of stack elements equal to the struct's field count, or all
4081 ValueType ftype = imm.struct_type->field(i);
4084 "%s: struct type %d has field %d of non-defaultable type %s",
4106 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4107 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4109 field.struct_imm.struct_type->field(field.field_imm.index);
4112 "struct.get: Immediate field %d of type %d has packed type %s. "
4114 field.field_imm.index, field.struct_imm.index,
4119 Peek(0, 0, ValueType::Ref(field.struct_imm.index, kNullable));
4121 CALL_INTERFACE_IF_OK_AND_REACHABLE(StructGet, struct_obj, field, true,
4125 return opcode_length + field.length;
4130 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4131 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4133 field.struct_imm.struct_type->field(field.field_imm.index);
4136 "%s: Immediate field %d of type %d has non-packed type %s. Use "
4138 WasmOpcodes::OpcodeName(opcode), field.field_imm.index,
4139 field.struct_imm.index, field_type.name().c_str());
4143 Peek(0, 0, ValueType::Ref(field.struct_imm.index, kNullable));
4145 CALL_INTERFACE_IF_OK_AND_REACHABLE(StructGet, struct_obj, field,
4149 return opcode_length + field.length;
4153 FieldImmediate<validate> field(this, this->pc_ + opcode_length);
4154 if (!this->Validate(this->pc_ + opcode_length, field)) return 0;
4155 const StructType* struct_type = field.struct_imm.struct_type;
4156 if (!VALIDATE(struct_type->mutability(field.field_imm.index))) {
4158 field.field_imm.index, field.struct_imm.index);
4162 Peek(0, 1, struct_type->field(field.field_imm.index).Unpacked());
4164 Peek(1, 0, ValueType::Ref(field.struct_imm.index, kNullable));
4165 CALL_INTERFACE_IF_OK_AND_REACHABLE(StructSet, struct_obj, field,
4168 return opcode_length + field.length;