Bug 1206596: Address review nits. DONTBUILD r=fitzgen
authorJim Blandy <jimb@mozilla.com>
Thu, 08 Oct 2015 17:13:55 -0700
changeset 267016 0c9a1a3a654eddc1df3506406564e0221ec033bf
parent 267015 82b5260c2eb347df1ee16823b50a808d4c23f54e
child 267017 e28dde22ac26e864405c1e4d0e6a5524bfe7aeba
push id29504
push usercbook@mozilla.com
push dateFri, 09 Oct 2015 09:43:23 +0000
treeherdermozilla-central@d01dd42e654b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1206596
milestone44.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 1206596: Address review nits. DONTBUILD r=fitzgen
js/src/vm/SavedStacks.h
--- a/js/src/vm/SavedStacks.h
+++ b/js/src/vm/SavedStacks.h
@@ -148,17 +148,16 @@ namespace js {
 // principals.
 
 class SavedStacks {
     friend JSObject* SavedStacksMetadataCallback(JSContext* cx, JSObject* target);
     friend bool JS::ubi::ConstructSavedFrameStackSlow(JSContext* cx,
                                                       JS::ubi::StackFrame& ubiFrame,
                                                       MutableHandleObject outSavedFrameStack);
 
-
   public:
     SavedStacks()
       : frames(),
         bernoulli(1.0, 0x59fdad7f6b4cc573, 0x91adf38db96a9354),
         creatingSavedFrame(false)
     { }
 
     bool     init();
@@ -171,17 +170,17 @@ class SavedStacks {
     void     setRNGState(uint64_t state0, uint64_t state1) { bernoulli.setRandomState(state0, state1); }
     void     chooseSamplingProbability(JSCompartment*);
 
     size_t sizeOfExcludingThis(mozilla::MallocSizeOf mallocSizeOf);
 
   private:
     SavedFrame::Set frames;
     mozilla::FastBernoulliTrial bernoulli;
-    bool            creatingSavedFrame;
+    bool creatingSavedFrame;
 
     // Similar to mozilla::ReentrancyGuard, but instead of asserting against
     // reentrancy, just change the behavior of SavedStacks::saveCurrentStack to
     // return a nullptr SavedFrame.
     struct MOZ_RAII AutoReentrancyGuard {
         MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER;
         SavedStacks& stacks;