Bug 1126438: Annotate canClone() and clone() as MOZ_OVERRIDE, in MIR.h. r=ehsan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 27 Jan 2015 11:53:25 -0800
changeset 226126 8c4a67f63f9b15643a565cfe72244e372540ac1a
parent 226125 b5a4e4c8ed85adfae07a5e466af55f4e3e0e7fac
child 226127 f579eea5dc026f64bda0510ded041ffd9197f3a6
push id28187
push usercbook@mozilla.com
push dateWed, 28 Jan 2015 13:20:48 +0000
treeherdermozilla-central@fc21937ca612 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1126438
milestone38.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 1126438: Annotate canClone() and clone() as MOZ_OVERRIDE, in MIR.h. r=ehsan
js/src/jit/MIR.h
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -5532,21 +5532,22 @@ class MHypot
         return true;
     }
 
     bool writeRecoverData(CompactBufferWriter &writer) const MOZ_OVERRIDE;
     bool canRecoverOnBailout() const MOZ_OVERRIDE {
         return true;
     }
 
-    bool canClone() const {
-        return true;
-    }
-
-    MInstruction *clone(TempAllocator &alloc, const MDefinitionVector &inputs) const {
+    bool canClone() const MOZ_OVERRIDE {
+        return true;
+    }
+
+    MInstruction *clone(TempAllocator &alloc,
+                        const MDefinitionVector &inputs) const MOZ_OVERRIDE {
        return MHypot::New(alloc, inputs);
     }
 };
 
 // Inline implementation of Math.pow().
 class MPow
   : public MBinaryInstruction,
     public PowPolicy::Data