C#: Expose a synthetic global singleton stack.

This commit is contained in:
Michael Nebel
2023-05-12 11:24:17 +02:00
parent 06b02eb3ce
commit 93d9783940

View File

@@ -116,6 +116,11 @@ module SummaryComponentStack {
/** Gets a singleton stack representing a jump to `c`. */
SummaryComponentStack jump(Callable c) { result = singleton(SummaryComponent::jump(c)) }
/** Gets a singleton stack representing a synthetic global with name `name`. */
SummaryComponentStack syntheticGlobal(string synthetic) {
result = singleton(SummaryComponent::syntheticGlobal(synthetic))
}
}
class SummarizedCallable = Impl::Public::SummarizedCallable;