| Index: src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| index 0754b850297c0ee4595272c772e42fefb71b838f..ec87a1aa77d3f7bdfd729ac7abc5cff4f5b7ee2c 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -3546,6 +3546,19 @@ void LCodeGen::DoMathAbsTagged(LMathAbsTagged* instr) {
|
| __ Bind(&done);
|
| }
|
|
|
| +void LCodeGen::DoMathCos(LMathCos* instr) {
|
| + DCHECK(instr->IsMarkedAsCall());
|
| + DCHECK(ToDoubleRegister(instr->value()).is(d0));
|
| + __ CallCFunction(ExternalReference::ieee754_cos_function(isolate()), 0, 1);
|
| + DCHECK(ToDoubleRegister(instr->result()).Is(d0));
|
| +}
|
| +
|
| +void LCodeGen::DoMathSin(LMathSin* instr) {
|
| + DCHECK(instr->IsMarkedAsCall());
|
| + DCHECK(ToDoubleRegister(instr->value()).is(d0));
|
| + __ CallCFunction(ExternalReference::ieee754_sin_function(isolate()), 0, 1);
|
| + DCHECK(ToDoubleRegister(instr->result()).Is(d0));
|
| +}
|
|
|
| void LCodeGen::DoMathExp(LMathExp* instr) {
|
| DCHECK(instr->IsMarkedAsCall());
|
|
|