Bug 1334082 : changes "forceAnalyze" to "force" to match variable name
MozReview-Commit-ID: ITRKSapSlpv
--- a/js/src/jsarray.cpp
+++ b/js/src/jsarray.cpp
@@ -3680,17 +3680,17 @@ js::MaybeAnalyzeBeforeCreatingLargeArray
JSObject* obj = NewFullyAllocatedArrayTryUseGroup(cx, group, nlength);
if (!obj)
return false;
DebugOnly<DenseElementResult> result =
SetOrExtendAnyBoxedOrUnboxedDenseElements(cx, obj, 0, vp, nlength,
ShouldUpdateTypes::Update);
MOZ_ASSERT(result.value == DenseElementResult::Success);
}
- objects->maybeAnalyze(cx, group, /* forceAnalyze = */ true);
+ objects->maybeAnalyze(cx, group, /* force = */ true);
}
}
return true;
}
JSObject*
js::NewCopiedArrayTryUseGroup(ExclusiveContext* cx, HandleObjectGroup group,
const Value* vp, size_t length, NewObjectKind newKind,