Bug 925879 - remove vestigal JS_BYTES_PER_WORD/JS_BITS_PER_WORD_LOG2 definitions from jscpucfg.h; r=njn
authorNathan Froyd <froydnj@mozilla.com>
Fri, 11 Oct 2013 15:15:16 -0400
changeset 164774 78db5762d54cf05580f819227c5e85143b9f24d0
parent 164773 214a64e9f3f2f7c38c38cd99f2d6d6b6cbd3d01f
child 164775 dfbfe76ad7f6c7760b497fc799a58eee12854a73
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnjn
bugs925879
milestone27.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 925879 - remove vestigal JS_BYTES_PER_WORD/JS_BITS_PER_WORD_LOG2 definitions from jscpucfg.h; r=njn
js/src/jscpucfg.h
--- a/js/src/jscpucfg.h
+++ b/js/src/jscpucfg.h
@@ -9,32 +9,28 @@
 
 #define JS_HAVE_LONG_LONG
 
 #if defined(_WIN64)
 
 # if defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)
 #  define IS_LITTLE_ENDIAN 1
 #  undef  IS_BIG_ENDIAN
-#  define JS_BYTES_PER_WORD   8
-#  define JS_BITS_PER_WORD_LOG2   6
 # else  /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
 #  error "CPU type is unknown"
 # endif /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
 
 #elif defined(_WIN32) || defined(XP_OS2)
 
 # ifdef __WATCOMC__
 #  define HAVE_VA_LIST_AS_ARRAY 1
 # endif
 
 # define IS_LITTLE_ENDIAN 1
 # undef  IS_BIG_ENDIAN
-# define JS_BYTES_PER_WORD   4
-# define JS_BITS_PER_WORD_LOG2   5
 
 #elif defined(__APPLE__)
 # if __LITTLE_ENDIAN__
 #  define IS_LITTLE_ENDIAN 1
 #  undef  IS_BIG_ENDIAN
 # elif __BIG_ENDIAN__
 #  undef  IS_LITTLE_ENDIAN
 #  define IS_BIG_ENDIAN 1