C#: Do not inline getLeafTypeAt

This commit is contained in:
Tom Hvitved
2021-07-15 15:41:16 +02:00
parent 7e4d761aa3
commit 4180528d02

View File

@@ -485,6 +485,7 @@ module Gvn {
/**
* Gets the leaf GVN inside GVN `t`, by following the path `path`, if any.
*/
pragma[noinline]
private GvnType getLeafTypeAt(GvnType t, TTypePath path) {
result = getTypeAt(t, path) and
not result instanceof ConstructedGvnType