Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: src/hydrogen-instructions.h

Issue 6486033: Revert r6748.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698