Nit patrol flies at dawn, spots minor spacing infractions.
authorBrendan Eich <brendan@mozilla.org>
Sun, 30 May 2010 11:40:14 -0700
changeset 43214 9a4b013e060e78f3f4bb0f10ca8d1139422b8c83
parent 43213 9307c8d711c64e94e584ed3259f1f3d2561954df
child 43215 af9499c6d1f3a178ad0d34d406d04f058b47931f
push id13641
push userrsayre@mozilla.com
push dateSun, 06 Jun 2010 19:08:23 +0000
treeherdermozilla-central@5b3604a3cfbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Nit patrol flies at dawn, spots minor spacing infractions.
js/src/jsobj.h
--- a/js/src/jsobj.h
+++ b/js/src/jsobj.h
@@ -55,21 +55,21 @@
 
 namespace js { class AutoDescriptorArray; }
 
 /*
  * A representation of ECMA-262 ed. 5's internal property descriptor data
  * structure.
  */
 struct PropertyDescriptor {
-  friend class js::AutoDescriptorArray;
+    friend class js::AutoDescriptorArray;
 
     PropertyDescriptor();
+
   public:
-
     /* 8.10.5 ToPropertyDescriptor(Obj) */
     bool initialize(JSContext* cx, jsid id, jsval v);
 
     /* 8.10.1 IsAccessorDescriptor(desc) */
     bool isAccessorDescriptor() const {
         return hasGet || hasSet;
     }
 
@@ -465,30 +465,30 @@ struct JSObject {
     inline void freeDenseArrayElements(JSContext *cx);
 
     inline void voidDenseOnlyArraySlots();  // used when converting a dense array to a slow array
 
     /*
      * Arguments-specific getters and setters.
      */
 
+  private:
     /*
      * Reserved slot structure for Arguments objects:
      *
      * JSSLOT_PRIVATE       - the corresponding frame until the frame exits.
      * JSSLOT_ARGS_LENGTH   - the number of actual arguments and a flag
      *                        indicating whether arguments.length was
      *                        overwritten.
      * JSSLOT_ARGS_CALLEE   - the arguments.callee value or JSVAL_HOLE if that
      *                        was overwritten.
      *
      * Argument index i is stored in dslots[i], accessible via
      * {get,set}ArgsElement().
      */
-  private:
     static const uint32 JSSLOT_ARGS_LENGTH = JSSLOT_PRIVATE + 1;
     static const uint32 JSSLOT_ARGS_CALLEE = JSSLOT_PRIVATE + 2;
 
   public:
     /* Number of extra fixed slots besides JSSLOT_PRIVATE. */
     static const uint32 ARGS_FIXED_RESERVED_SLOTS = 2;
 
     inline uint32 getArgsLength() const;