| Index: src/hydrogen-instructions.h
|
| ===================================================================
|
| --- src/hydrogen-instructions.h (revision 6753)
|
| +++ src/hydrogen-instructions.h (working copy)
|
| @@ -133,7 +133,6 @@
|
| V(LoadPixelArrayExternalPointer) \
|
| V(Mod) \
|
| V(Mul) \
|
| - V(Neg) \
|
| V(ObjectLiteral) \
|
| V(OsrEntry) \
|
| V(OuterContext) \
|
| @@ -1418,39 +1417,6 @@
|
| };
|
|
|
|
|
| -class HNeg: public HUnaryOperation {
|
| - public:
|
| - explicit HNeg(HValue* value) : HUnaryOperation(value) {
|
| - set_representation(Representation::Tagged());
|
| - SetFlag(kFlexibleRepresentation);
|
| - SetFlag(kCanOverflow);
|
| - SetAllSideEffects();
|
| - }
|
| -
|
| - virtual void RepresentationChanged(Representation to) {
|
| - // May change from tagged to untagged, not vice versa.
|
| - ASSERT(representation().IsTagged() || representation().Equals(to));
|
| - if (!to.IsTagged()) {
|
| - ClearAllSideEffects();
|
| - SetFlag(kUseGVN);
|
| - }
|
| - }
|
| -
|
| - virtual Representation RequiredInputRepresentation(int index) const {
|
| - return representation();
|
| - }
|
| -
|
| - virtual HType CalculateInferredType() const;
|
| - virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited);
|
| - virtual void PrintDataTo(StringStream* stream) const;
|
| - DECLARE_CONCRETE_INSTRUCTION(Neg, "neg")
|
| -
|
| - protected:
|
| - virtual bool DataEquals(HValue* other) const { return true; }
|
| - virtual Range* InferRange();
|
| -};
|
| -
|
| -
|
| class HUnaryMathOperation: public HUnaryOperation {
|
| public:
|
| HUnaryMathOperation(HValue* value, BuiltinFunctionId op)
|
|
|