C#: Cache Call::getArgumentForParameter()

This commit is contained in:
Tom Hvitved
2019-02-20 13:12:58 +01:00
parent a382a5876f
commit f8bb00a81c

View File

@@ -76,7 +76,7 @@ class Call extends DotNet::Call, Expr, @call {
* }
* ```
*/
pragma[nomagic]
cached
override Expr getArgumentForParameter(DotNet::Parameter p) {
getTarget().getAParameter() = p and
(