| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index a3a7500984d71cde0dd6796da2d98d054a0fb6b0..816da3c830733b6945b1495a9f2d13f0ae3983d1 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -825,7 +825,7 @@ static void ReplaceAccessors(Handle<Map> map,
|
| PropertyAttributes attributes,
|
| Handle<AccessorPair> accessor_pair) {
|
| DescriptorArray* descriptors = map->instance_descriptors();
|
| - int idx = descriptors->SearchWithCache(*name, *map);
|
| + int idx = descriptors->SearchWithCache(map->GetIsolate(), *name, *map);
|
| AccessorConstantDescriptor descriptor(name, accessor_pair, attributes);
|
| descriptors->Replace(idx, &descriptor);
|
| }
|
| @@ -2903,7 +2903,7 @@ bool Genesis::InstallNatives(GlobalContextType context_type) {
|
| array_function->initial_map()->instance_descriptors());
|
| Handle<String> length = factory()->length_string();
|
| int old = array_descriptors->SearchWithCache(
|
| - *length, array_function->initial_map());
|
| + isolate(), *length, array_function->initial_map());
|
| DCHECK(old != DescriptorArray::kNotFound);
|
| AccessorConstantDescriptor desc(
|
| length, handle(array_descriptors->GetValue(old), isolate()),
|
|
|