| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 34316319aa3ebc61db008d7e663e27b2461fe0ed..464dd86ae954bdd051ad4a1bd42ad1ee4c2c17cc 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -1366,7 +1366,7 @@ class HBitNot: public HUnaryOperation {
|
|
|
| class HUnaryMathOperation: public HUnaryOperation {
|
| public:
|
| - HUnaryMathOperation(HValue* value, MathFunctionId op)
|
| + HUnaryMathOperation(HValue* value, BuiltinFunctionId op)
|
| : HUnaryOperation(value), op_(op) {
|
| switch (op) {
|
| case kMathFloor:
|
| @@ -1380,8 +1380,10 @@ class HUnaryMathOperation: public HUnaryOperation {
|
| break;
|
| case kMathSqrt:
|
| case kMathPowHalf:
|
| - default:
|
| set_representation(Representation::Double());
|
| + break;
|
| + default:
|
| + UNREACHABLE();
|
| }
|
| SetFlag(kUseGVN);
|
| }
|
| @@ -1419,13 +1421,13 @@ class HUnaryMathOperation: public HUnaryOperation {
|
| return this;
|
| }
|
|
|
| - MathFunctionId op() const { return op_; }
|
| + BuiltinFunctionId op() const { return op_; }
|
| const char* OpName() const;
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary_math_operation")
|
|
|
| private:
|
| - MathFunctionId op_;
|
| + BuiltinFunctionId op_;
|
| };
|
|
|
|
|
|
|