Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index d109de91d10144fc8b8a19e2620c3eaffdfe9ae2..19425ed28181d80c1f8b662919fccee776fbf9b6 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -422,12 +422,10 @@ class LookupResult BASE_EMBEDDED { |
PropertyIndex GetFieldIndex() { |
ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
- ASSERT(IsField()); |
return PropertyIndex::NewFieldIndex(GetFieldIndexFromMap(holder()->map())); |
} |
int GetLocalFieldIndexFromMap(Map* map) { |
- ASSERT(IsField()); |
return GetFieldIndexFromMap(map) - map->inobject_properties(); |
} |