| Index: src/types.cc
|
| diff --git a/src/types.cc b/src/types.cc
|
| index 3abc08dd9c15fd1816eaae1d89d97f1662dc469a..4526b6fe4470866c27a5fb6c3a208c301f3b4c7c 100644
|
| --- a/src/types.cc
|
| +++ b/src/types.cc
|
| @@ -372,19 +372,6 @@ bool TypeImpl<Config>::Contains(i::Object* value) {
|
|
|
|
|
| template<class Config>
|
| -bool TypeImpl<Config>::NowContains(i::Object* value) {
|
| - DisallowHeapAllocation no_allocation;
|
| - if (value->IsHeapObject()) {
|
| - i::Map* map = i::HeapObject::cast(value)->map();
|
| - for (Iterator<i::Map> it = this->Classes(); !it.Done(); it.Advance()) {
|
| - if (*it.Current() == map) return true;
|
| - }
|
| - }
|
| - return this->Contains(value);
|
| -}
|
| -
|
| -
|
| -template<class Config>
|
| bool TypeImpl<Config>::InUnion(StructHandle unioned, int current_size) {
|
| ASSERT(!this->IsUnion());
|
| for (int i = 0; i < current_size; ++i) {
|
|
|