| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index 6a52cc7e79f1df42683d7c255805b17bff550953..89a74ada893c744e2b46adacc5a7e886905d0a76 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -1453,10 +1453,9 @@ Type* Typer::Visitor::TypeJSForInNext(Node* node) {
|
|
|
| Type* Typer::Visitor::TypeJSForInPrepare(Node* node) {
|
| STATIC_ASSERT(Map::EnumLengthBits::kMax <= FixedArray::kMaxLength);
|
| - Factory* const f = isolate()->factory();
|
| - Type* const cache_type = Type::Union(
|
| - typer_->cache_.kSmi, Type::Class(f->meta_map(), zone()), zone());
|
| - Type* const cache_array = Type::Class(f->fixed_array_map(), zone());
|
| + Type* const cache_type =
|
| + Type::Union(typer_->cache_.kSmi, Type::OtherInternal(), zone());
|
| + Type* const cache_array = Type::OtherInternal();
|
| Type* const cache_length = typer_->cache_.kFixedArrayLengthType;
|
| return Type::Tuple(cache_type, cache_array, cache_length, zone());
|
| }
|
|
|