diff options
Diffstat (limited to 'deps/v8/src/hydrogen-instructions.h')
-rw-r--r-- | deps/v8/src/hydrogen-instructions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/hydrogen-instructions.h b/deps/v8/src/hydrogen-instructions.h index aafa7a8830..cbbe8fcc88 100644 --- a/deps/v8/src/hydrogen-instructions.h +++ b/deps/v8/src/hydrogen-instructions.h @@ -905,6 +905,8 @@ class HCompareMapAndBranch: public HUnaryControlInstruction { virtual HBasicBlock* FirstSuccessor() const { return true_destination_; } virtual HBasicBlock* SecondSuccessor() const { return false_destination_; } + virtual void PrintDataTo(StringStream* stream) const; + Handle<Map> map() const { return map_; } DECLARE_CONCRETE_INSTRUCTION(CompareMapAndBranch, "compare_map_and_branch") @@ -1387,6 +1389,8 @@ class HUnaryMathOperation: public HUnaryOperation { case kMathSqrt: case kMathPowHalf: case kMathLog: + case kMathSin: + case kMathCos: set_representation(Representation::Double()); break; default: @@ -1409,6 +1413,8 @@ class HUnaryMathOperation: public HUnaryOperation { case kMathSqrt: case kMathPowHalf: case kMathLog: + case kMathSin: + case kMathCos: return Representation::Double(); break; case kMathAbs: |