36 if (!FLAG_use_field_guards) {
41 Zone* zone = thread->zone();
52 UntaggedFunction::kRegularFunction,
false,
false,
false,
58 true,
false, dummy_class,
77 const Slot& slot1 =
Slot::Get(field_clone_1, parsed_function);
78 const Slot& slot2 =
Slot::Get(field_clone_2, parsed_function);
79 EXPECT_EQ(&slot1, &slot2);
99 const Slot& slot3 =
Slot::Get(field_clone_3, parsed_function2);
100 EXPECT_EQ(&slot1, &slot3);
bool HasKey(typename KeyValueTrait::Key key) const
void set_is_synthesized_class_unsafe() const
static ClassPtr New(IsolateGroup *isolate_group, bool register_class=true)
void set_is_nullable_unsafe(bool val) const
FieldPtr CloneFromOriginal() const
void set_guarded_cid_unsafe(intptr_t cid) const
static FunctionTypePtr New(intptr_t num_parent_type_arguments=0, Nullability nullability=Nullability::kNonNullable, Heap::Space space=Heap::kOld)
static FunctionPtr New(const FunctionType &signature, const String &name, UntaggedFunction::Kind kind, bool is_static, bool is_const, bool is_abstract, bool is_external, bool is_native, const Object &owner, TokenPosition token_pos, Heap::Space space=Heap::kOld)
static Object & ZoneHandle()
const FieldSet * guarded_fields() const
bool is_guarded_field() const
static const Slot & Get(const Field &field, const ParsedFunction *parsed_function)
static StringPtr New(Thread *thread, const char *cstr)
static const TokenPosition kMinSource
TEST_CASE(DirectoryCurrent)