Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index 49f605b765186fd890bf024041d94d178564e640..261a47c67a2662a4fcfd18eae40e03281c5d130a 100644 |
--- a/src/compiler/access-info.cc |
+++ b/src/compiler/access-info.cc |
@@ -350,6 +350,7 @@ bool AccessInfoFactory::ComputePropertyAccessInfo( |
} else { |
DCHECK_EQ(kDescriptor, details.location()); |
if (details.kind() == kData) { |
+ DCHECK(!FLAG_track_constant_fields); |
*access_info = PropertyAccessInfo::DataConstant( |
MapList{receiver_map}, |
handle(descriptors->GetValue(number), isolate()), holder); |