| Index: src/crankshaft/arm64/lithium-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-arm64.cc b/src/crankshaft/arm64/lithium-arm64.cc
|
| index e18fca528b165e8aee6bc5ad224d53a76f6a59e7..66eee5caeb2147741beadd3a2603a63a38381e49 100644
|
| --- a/src/crankshaft/arm64/lithium-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-arm64.cc
|
| @@ -2459,6 +2459,20 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
| return result;
|
| }
|
| }
|
| + case kMathCos: {
|
| + DCHECK(instr->representation().IsDouble());
|
| + DCHECK(instr->value()->representation().IsDouble());
|
| + LOperand* input = UseFixedDouble(instr->value(), d0);
|
| + LMathCos* result = new (zone()) LMathCos(input);
|
| + return MarkAsCall(DefineFixedDouble(result, d0), instr);
|
| + }
|
| + case kMathSin: {
|
| + DCHECK(instr->representation().IsDouble());
|
| + DCHECK(instr->value()->representation().IsDouble());
|
| + LOperand* input = UseFixedDouble(instr->value(), d0);
|
| + LMathSin* result = new (zone()) LMathSin(input);
|
| + return MarkAsCall(DefineFixedDouble(result, d0), instr);
|
| + }
|
| case kMathExp: {
|
| DCHECK(instr->representation().IsDouble());
|
| DCHECK(instr->value()->representation().IsDouble());
|
|
|