Index: src/x87/lithium-x87.h |
diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h |
index ea76738ba7451db688daf12d0f62e13355a12d2e..ec7418b410db2c89b58057f054b0d5a6fbde6462 100644 |
--- a/src/x87/lithium-x87.h |
+++ b/src/x87/lithium-x87.h |
@@ -112,6 +112,7 @@ class LCodeGen; |
V(MathClz32) \ |
V(MathExp) \ |
V(MathFloor) \ |
+ V(MathFround) \ |
V(MathLog) \ |
V(MathMinMax) \ |
V(MathPowHalf) \ |
@@ -873,6 +874,16 @@ class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
+class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LMathFround(LOperand* value) { inputs_[0] = value; } |
+ |
+ LOperand* value() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MathFround, "math-fround") |
+}; |
+ |
+ |
class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
public: |
LMathAbs(LOperand* context, LOperand* value) { |
@@ -2751,6 +2762,7 @@ class LChunkBuilder V8_FINAL : public LChunkBuilderBase { |
LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
LInstruction* DoMathRound(HUnaryMathOperation* instr); |
+ LInstruction* DoMathFround(HUnaryMathOperation* instr); |
LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
LInstruction* DoMathLog(HUnaryMathOperation* instr); |
LInstruction* DoMathExp(HUnaryMathOperation* instr); |