You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.8 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>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> &#x00BB; <a href="../index.html">IR</a> &#x00BB; 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>?&#8288;has_clang_model:bool</span> <span>&#45;&gt;</span> <a href="../Procdesc/index.html#type-t">Procdesc.t</a> <span>&#45;&gt;</span> <a href="../Procname/index.html#type-t">Procname.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../Exp/index.html#type-t">Exp.t</a> * <a href="../Typ/index.html#type-t">Typ.t</a>)</span> list</span> <span>&#45;&gt;</span> <a href="../Procdesc/index.html#type-t">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>