Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 31a771fbeb0a00f10b265ca0ddaa7227a105a361..ef53df46cd17141937fc916539b5a70cee08d04c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1743,7 +1743,9 @@ bool Genesis::InstallNatives() { |
Handle<DescriptorArray> array_descriptors( |
array_function->initial_map()->instance_descriptors()); |
int index = array_descriptors->SearchWithCache(heap()->length_symbol()); |
- reresult_descriptors->CopyFrom(0, *array_descriptors, index, witness); |
+ MaybeObject* copy_result = |
+ reresult_descriptors->CopyFrom(0, *array_descriptors, index, witness); |
+ if (copy_result->IsFailure()) return false; |
int enum_index = 0; |
{ |