Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 4f4032fce706c7db24ec99c1057b89e3c0d63174..8dcfc5f98396811d9e63a59ee84f7e975d069d08 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -3550,6 +3550,8 @@ intptr_t InvokeMathCFunctionInstr::ArgumentCountFor( |
case MethodRecognizer::kMathTan: |
case MethodRecognizer::kMathAcos: |
case MethodRecognizer::kMathAsin: |
+ case MethodRecognizer::kMathSin: |
+ case MethodRecognizer::kMathCos: |
return 1; |
case MethodRecognizer::kDoubleMod: |
case MethodRecognizer::kMathDoublePow: |
@@ -3636,6 +3638,10 @@ const RuntimeEntry& InvokeMathCFunctionInstr::TargetFunction() const { |
return kLibcTanRuntimeEntry; |
case MethodRecognizer::kMathAsin: |
return kLibcAsinRuntimeEntry; |
+ case MethodRecognizer::kMathSin: |
+ return kLibcSinRuntimeEntry; |
+ case MethodRecognizer::kMathCos: |
+ return kLibcCosRuntimeEntry; |
case MethodRecognizer::kMathAcos: |
return kLibcAcosRuntimeEntry; |
case MethodRecognizer::kMathAtan: |