Index: src/field-type.cc |
diff --git a/src/field-type.cc b/src/field-type.cc |
index f049b5be61acd1490e1d41dea74a77d9dcdf07d7..76d694c132628f058016158130368b98cf665661 100644 |
--- a/src/field-type.cc |
+++ b/src/field-type.cc |
@@ -45,17 +45,6 @@ FieldType* FieldType::cast(Object* object) { |
return reinterpret_cast<FieldType*>(object); |
} |
-bool FieldType::NowContains(Object* value) { |
- if (this == Any()) return true; |
- if (this == None()) return false; |
- if (!value->IsHeapObject()) return false; |
- return HeapObject::cast(value)->map() == Map::cast(this); |
-} |
- |
-bool FieldType::NowContains(Handle<Object> value) { |
- return NowContains(*value); |
-} |
- |
bool FieldType::IsClass() { return this->IsMap(); } |
Handle<i::Map> FieldType::AsClass() { |