Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index fc0538ab5ba106cf5c88be95a8cca071b893db86..e92d119590260068681204b04dae135fb7f7c41e 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -651,7 +651,7 @@ Handle<Code> StubCache::ComputeLoadElementPolymorphic( |
TypeHandleList types(receiver_maps->length()); |
for (int i = 0; i < receiver_maps->length(); i++) { |
- types.Add(Type::Class(receiver_maps->at(i), isolate())); |
+ types.Add(handle(Type::Class(receiver_maps->at(i)), isolate())); |
} |
CodeHandleList handlers(receiver_maps->length()); |
KeyedLoadStubCompiler compiler(isolate_); |