Bug 915833 - SpiderMonkey: Make some fields private. r=sstangl
authorDan Gohman <sunfish@google.com>
Thu, 12 Sep 2013 15:31:39 -0700
changeset 159853 9fac05846d6e00ba1b9c36b3c6c7d43785d70593
parent 159852 3bc4938ad49ac6378ae54f5a2c654ea6ef2d8454
child 159854 339c713fcaef755d6039c9566fde6b1fc8c3f0c4
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssstangl
bugs915833
milestone26.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 915833 - SpiderMonkey: Make some fields private. r=sstangl
js/src/jit/x64/Assembler-x64.h
js/src/jit/x86/Assembler-x86.h
--- a/js/src/jit/x64/Assembler-x64.h
+++ b/js/src/jit/x64/Assembler-x64.h
@@ -173,16 +173,17 @@ class Operand
   public:
     enum Kind {
         REG,
         MEM_REG_DISP,
         FPREG,
         MEM_SCALE
     };
 
+  private:
     Kind kind_ : 3;
     int32_t base_ : 5;
     Scale scale_ : 3;
     int32_t index_ : 5;
     int32_t disp_;
 
   public:
     explicit Operand(Register reg)
--- a/js/src/jit/x86/Assembler-x86.h
+++ b/js/src/jit/x86/Assembler-x86.h
@@ -114,16 +114,17 @@ class Operand
     enum Kind {
         REG,
         MEM_REG_DISP,
         FPREG,
         MEM_SCALE,
         MEM_ADDRESS
     };
 
+  private:
     Kind kind_ : 4;
     int32_t base_ : 5;
     Scale scale_ : 3;
     int32_t index_ : 5;
     int32_t disp_;
 
   public:
     explicit Operand(Register reg)