Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 4b55595497f74571cdda9cbfa602b4d23439f11c..59cb8ab3e5827940d860dd5b0e9d4ed02c90e3be 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: |