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

Unified Diff: src/hydrogen-instructions.h

Issue 5862002: Version 3.0.2. (Closed)
Patch Set: Created 10 years 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
« ChangeLog ('K') | « src/hydrogen.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 34316319aa3ebc61db008d7e663e27b2461fe0ed..ff1ab1a36e59495be4e606beddd0c851b66b35cd 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -77,7 +77,6 @@ class LChunkBuilder;
// HLoadKeyedFastElement
// HLoadKeyedGeneric
// HLoadNamedGeneric
-// HPower
// HStoreNamed
// HStoreNamedField
// HStoreNamedGeneric
@@ -224,7 +223,6 @@ class LChunkBuilder;
V(ObjectLiteral) \
V(OsrEntry) \
V(Parameter) \
- V(Power) \
V(PushArgument) \
V(RegExpLiteral) \
V(Return) \
@@ -1379,7 +1377,6 @@ class HUnaryMathOperation: public HUnaryOperation {
SetFlag(kFlexibleRepresentation);
break;
case kMathSqrt:
- case kMathPowHalf:
default:
set_representation(Representation::Double());
}
@@ -1398,7 +1395,6 @@ class HUnaryMathOperation: public HUnaryOperation {
case kMathRound:
case kMathCeil:
case kMathSqrt:
- case kMathPowHalf:
return Representation::Double();
break;
case kMathAbs:
@@ -2188,22 +2184,6 @@ class HInstanceOf: public HBinaryOperation {
};
-class HPower: public HBinaryOperation {
- public:
- HPower(HValue* left, HValue* right)
- : HBinaryOperation(left, right) {
- set_representation(Representation::Double());
- SetFlag(kUseGVN);
- }
-
- virtual Representation RequiredInputRepresentation(int index) const {
- return (index == 1) ? Representation::None() : Representation::Double();
- }
-
- DECLARE_CONCRETE_INSTRUCTION(Power, "power")
-};
-
-
class HAdd: public HArithmeticBinaryOperation {
public:
HAdd(HValue* left, HValue* right) : HArithmeticBinaryOperation(left, right) {
« ChangeLog ('K') | « src/hydrogen.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698