Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / PackedRepresentation.adoc
CommitLineData
7f918cf1
CE
1PackedRepresentation
2====================
3
4<:PackedRepresentation:> is an analysis pass for the <:SSA2:>
5<:IntermediateLanguage:>, invoked from <:ToRSSA:>.
6
7== Description ==
8
9This pass analyzes a <:SSA2:> program to compute a packed
10representation for each object.
11
12== Implementation ==
13
14* <!ViewGitFile(mlton,master,mlton/backend/representation.sig)>
15* <!ViewGitFile(mlton,master,mlton/backend/packed-representation.fun)>
16
17== Details and Notes ==
18
19Has a special case to make sure that `true` is represented as `1` and
20`false` is represented as `0`.