Bug 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 12 Feb 2013 11:02:53 +0100
changeset 121585 67de01121a3d1bc39e1ccf79d498eda851916c96
parent 121584 5ef0877215ff7c6e33a8f35552d94c0cc5019551
child 121586 16ddbb6852ecca9e7b167604105d875d03ec6368
push id22813
push usermh@glandium.org
push dateTue, 12 Feb 2013 10:03:17 +0000
treeherdermozilla-inbound@67de01121a3d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander
bugs839824
milestone21.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 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander
js/src/ion/MIR.h
--- a/js/src/ion/MIR.h
+++ b/js/src/ion/MIR.h
@@ -1213,17 +1213,17 @@ class MParNew : public MUnaryInstruction
 
 // Could be allocating either a new array or a new object.
 class MParBailout : public MAryControlInstruction<0, 0>
 {
   public:
     INSTRUCTION_HEADER(ParBailout);
 
     MParBailout()
-      : MAryControlInstruction()
+      : MAryControlInstruction<0, 0>()
     {
         setResultType(MIRType_Undefined);
         setGuard();
     }
 };
 
 // Slow path for adding a property to an object without a known base.
 class MInitProp