Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index da0e90aa9b126178a5e2c8421cedacb1228fecfd..e1b40a1674af2c99fc1d4de8538024a2455e4d74 100644 |
--- a/src/compiler/access-info.cc |
+++ b/src/compiler/access-info.cc |
@@ -75,10 +75,9 @@ PropertyAccessInfo PropertyAccessInfo::DataConstant( |
// static |
PropertyAccessInfo PropertyAccessInfo::DataField( |
Type* receiver_type, FieldIndex field_index, Type* field_type, |
- FieldCheck field_check, MaybeHandle<JSObject> holder, |
- MaybeHandle<Map> transition_map) { |
- return PropertyAccessInfo(holder, transition_map, field_index, field_check, |
- field_type, receiver_type); |
+ MaybeHandle<JSObject> holder, MaybeHandle<Map> transition_map) { |
+ return PropertyAccessInfo(holder, transition_map, field_index, field_type, |
+ receiver_type); |
} |
@@ -114,21 +113,17 @@ PropertyAccessInfo::PropertyAccessInfo(MaybeHandle<JSObject> holder, |
holder_(holder), |
field_type_(Type::Any()) {} |
- |
PropertyAccessInfo::PropertyAccessInfo(MaybeHandle<JSObject> holder, |
MaybeHandle<Map> transition_map, |
- FieldIndex field_index, |
- FieldCheck field_check, Type* field_type, |
+ FieldIndex field_index, Type* field_type, |
Type* receiver_type) |
: kind_(kDataField), |
receiver_type_(receiver_type), |
transition_map_(transition_map), |
holder_(holder), |
field_index_(field_index), |
- field_check_(field_check), |
field_type_(field_type) {} |
- |
AccessInfoFactory::AccessInfoFactory(CompilationDependencies* dependencies, |
Handle<Context> native_context, Zone* zone) |
: dependencies_(dependencies), |
@@ -299,8 +294,7 @@ bool AccessInfoFactory::ComputePropertyAccessInfo( |
DCHECK(field_type->Is(Type::TaggedPointer())); |
} |
*access_info = PropertyAccessInfo::DataField( |
- Type::Class(receiver_map, zone()), field_index, field_type, |
- FieldCheck::kNone, holder); |
+ Type::Class(receiver_map, zone()), field_index, field_type, holder); |
return true; |
} else { |
// TODO(bmeurer): Add support for accessors. |
@@ -451,9 +445,9 @@ bool AccessInfoFactory::LookupTransition(Handle<Map> map, Handle<Name> name, |
DCHECK(field_type->Is(Type::TaggedPointer())); |
} |
dependencies()->AssumeMapNotDeprecated(transition_map); |
- *access_info = PropertyAccessInfo::DataField( |
- Type::Class(map, zone()), field_index, field_type, FieldCheck::kNone, |
- holder, transition_map); |
+ *access_info = |
+ PropertyAccessInfo::DataField(Type::Class(map, zone()), field_index, |
+ field_type, holder, transition_map); |
return true; |
} |
return false; |