Bug 1126438: Annotate canClone() and clone() as MOZ_OVERRIDE, in MIR.h. r=ehsan
--- 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