Bug 666646 - Part 2: Cherrypick -Wdeprecated-register warning fix from upstream google-breakpad. r=ed
authorChris Peterson <cpeterson@mozilla.com>
Thu, 29 May 2014 21:17:14 -0700
changeset 207356 c303feddaea218d37d5ce6b2f202cc28f2a7bb24
parent 207355 3a3b6d6a8f2eed2071ddb8afee7e5aed90c6fe75
child 207357 d089350aff818ac688847038226fb4ec6071dca0
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersed
bugs666646
milestone32.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 666646 - Part 2: Cherrypick -Wdeprecated-register warning fix from upstream google-breakpad. r=ed
toolkit/crashreporter/google-breakpad/src/common/md5.cc
--- a/toolkit/crashreporter/google-breakpad/src/common/md5.cc
+++ b/toolkit/crashreporter/google-breakpad/src/common/md5.cc
@@ -161,17 +161,17 @@ void MD5Final(unsigned char digest[16], 
 
 /*
  * The core of the MD5 algorithm, this alters an existing MD5 hash to
  * reflect the addition of 16 longwords of new data.  MD5Update blocks
  * the data and converts bytes into longwords for this routine.
  */
 static void MD5Transform(u32 buf[4], u32 const in[16])
 {
-  register u32 a, b, c, d;
+  u32 a, b, c, d;
 
   a = buf[0];
   b = buf[1];
   c = buf[2];
   d = buf[3];
 
   MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7);
   MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12);