Bug 1334082 : changes "forceAnalyze" to "force" to match variable name r=bbouvier
authorBarun Parruck <barun.parruck@gmail.com>
Fri, 27 Jan 2017 22:48:06 +0530
changeset 340809 36f46f9d84414000ada1010711da4ec0c4173f55
parent 340808 ddd06f373719a8fe0dc08370c019edc4f3285295
child 340810 0c92f27724ae6a41ef38bf9c07cc03be37077ca1
push id31311
push userphilringnalda@gmail.com
push dateSun, 05 Feb 2017 00:36:57 +0000
treeherdermozilla-central@e581572bc9c1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier
bugs1334082
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1334082 : changes "forceAnalyze" to "force" to match variable name r=bbouvier MozReview-Commit-ID: ITRKSapSlpv
js/src/jsarray.cpp
--- a/js/src/jsarray.cpp
+++ b/js/src/jsarray.cpp
@@ -3729,17 +3729,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(JSContext* cx, HandleObjectGroup group,
                               const Value* vp, size_t length, NewObjectKind newKind,