Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index f81d240a0bb5fb28f3d67c2e643d956d79702fe3..85bf96e4d464bd1dd626e9d047364ef79143982b 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -892,10 +892,7 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
if (FLAG_optimize_constructed_arrays) { |
// Cache the array maps, needed by ArrayConstructorStub |
- MaybeObject* cache_result = CacheInitialJSArrayMaps(*native_context(), |
- *initial_map); |
- if (cache_result->IsFailure()) return false; |
- |
+ CacheInitialJSArrayMaps(native_context(), initial_map); |
ArrayConstructorStub array_constructor_stub(isolate); |
Handle<Code> code = array_constructor_stub.GetCode(isolate); |
array_function->shared()->set_construct_stub(*code); |