Bug 884020 - Don't use the register keyword in SVG code in order to fix the build with recent clangs; r=dholbert
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 17 Jun 2013 19:22:38 -0400
changeset 146882 8a8ef7f74a46e6427512442fdf80cdabac767734
parent 146881 fab9f7a443ad902d6dd58f1611c9b123a85e6b7b
child 146883 67b02bc5a2a179b7772ff722d818e2a94f476246
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs884020
milestone24.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 884020 - Don't use the register keyword in SVG code in order to fix the build with recent clangs; r=dholbert
content/svg/content/src/SVGFETurbulenceElement.cpp
--- a/content/svg/content/src/SVGFETurbulenceElement.cpp
+++ b/content/svg/content/src/SVGFETurbulenceElement.cpp
@@ -259,17 +259,17 @@ SVGFETurbulenceElement::InitSeed(int32_t
 #define S_CURVE(t) ( t * t * (3. - 2. * t) )
 #define LERP(t, a, b) ( a + t * (b - a) )
 double
 SVGFETurbulenceElement::Noise2(int aColorChannel, double aVec[2],
                                StitchInfo *aStitchInfo)
 {
   int bx0, bx1, by0, by1, b00, b10, b01, b11;
   double rx0, rx1, ry0, ry1, *q, sx, sy, a, b, t, u, v;
-  register long i, j;
+  long i, j;
   t = aVec[0] + sPerlinN;
   bx0 = (int) t;
   bx1 = bx0 + 1;
   rx0 = t - (int) t;
   rx1 = rx0 - 1.0f;
   t = aVec[1] + sPerlinN;
   by0 = (int) t;
   by1 = by0 + 1;