Backed out changeset 831077a22f58 (bug 1264948)

This commit is contained in:
Sebastian Hengst 2016-06-15 19:17:59 +02:00
parent 299ca506e6
commit fa09ca3da8

View File

@ -526,8 +526,6 @@ IonBuilder::inlineArray(CallInfo& callInfo)
if (callInfo.argc() >= 2) {
JSValueType unboxedType = GetBoxedOrUnboxedType(templateObject);
for (uint32_t i = 0; i < initLength; i++) {
if (!alloc().ensureBallast())
return InliningStatus_Error;
MDefinition* value = callInfo.getArg(i);
if (!initializeArrayElement(array, i, value, unboxedType, /* addResumePoint = */ false))
return InliningStatus_Error;