moonpool/dev/ocaml/Closure_offsets/index.html
2023-08-28 17:11:38 +00:00

2 lines
No EOL
1.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Closure_offsets (ocaml.Closure_offsets)</title><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">ocaml</a> &#x00BB; Closure_offsets</nav><header class="odoc-preamble"><h1>Module <code><span>Closure_offsets</span></code></h1><p>Assign numerical offsets, within closure blocks, for code pointers and environment entries.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-result"><a href="#type-result" class="anchor"></a><code><span><span class="keyword">type</span> result</span><span> = <span class="keyword">private</span> </span><span>{</span></code><ol><li id="type-result.function_offsets" class="def record field anchored"><a href="#type-result.function_offsets" class="anchor"></a><code><span>function_offsets : <span>int <a href="../Closure_id/Map/index.html#type-t">Closure_id.Map.t</a></span>;</span></code></li><li id="type-result.free_variable_offsets" class="def record field anchored"><a href="#type-result.free_variable_offsets" class="anchor"></a><code><span>free_variable_offsets : <span>int <a href="../Var_within_closure/Map/index.html#type-t">Var_within_closure.Map.t</a></span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-compute"><a href="#val-compute" class="anchor"></a><code><span><span class="keyword">val</span> compute : <span><a href="../Flambda/index.html#type-program">Flambda.program</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-result">result</a></span></code></div></div></div></body></html>