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>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> &#x00BB; 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 : <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</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>&#45;&gt;</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>