|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__SpecializeProcdesc (infer.IR__SpecializeProcdesc)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../index.html">infer</a> » IR__SpecializeProcdesc</nav><h1>Module <code>IR__SpecializeProcdesc</code></h1></header><dl><dt class="spec exception" id="exception-UnmatchedParameters"><a href="#exception-UnmatchedParameters" class="anchor"></a><code><span class="keyword">exception</span> </code><code><span class="exception">UnmatchedParameters</span></code></dt></dl><dl><dt class="spec value" id="val-with_formals_types"><a href="#val-with_formals_types" class="anchor"></a><code><span class="keyword">val</span> with_formals_types : <span>?⁠has_clang_model:bool</span> <span>-></span> <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> <span>-></span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> <span><span>(<a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> <span>-></span> <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a></code></dt><dd><p>Creates a copy of a procedure description and a list of type substitutions of the form (name, typ) where name is a parameter. The resulting procdesc is isomorphic but all the type of the parameters are replaced in the instructions according to the list. The virtual calls are also replaced to match the parameter types</p></dd></dl></div></body></html>
|