Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 943703d22ea03cda295d8a5a87e04cafdce21c96..a91e11cf5d2ac19d4232416ccfb8ba7c9bce2850 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -8783,7 +8783,8 @@ bool HOptimizedGraphBuilder::IsReadOnlyLengthDescriptor( |
Isolate* isolate = jsarray_map->GetIsolate(); |
Handle<Name> length_string = isolate->factory()->length_string(); |
DescriptorArray* descriptors = jsarray_map->instance_descriptors(); |
- int number = descriptors->SearchWithCache(*length_string, *jsarray_map); |
+ int number = |
+ descriptors->SearchWithCache(isolate, *length_string, *jsarray_map); |
DCHECK_NE(DescriptorArray::kNotFound, number); |
return descriptors->GetDetails(number).IsReadOnly(); |
} |