summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-12-19 10:28:34 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2012-12-19 10:32:01 +0000
commitb5853125ca6a5637647d0b0f2d6271cbf219b337 (patch)
tree3a9d16e1a9db52366cdb03205ce56cb285b1917b /docs
parentea8490e79d37ba758d5ffcf19b087cf74e09b5a0 (diff)
downloadhaskell-b5853125ca6a5637647d0b0f2d6271cbf219b337.tar.gz
Wibbles to faa8ff40 (UNPACK pragmas)
Nothing big here, just tidying up deetails
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/flags.xml4
-rw-r--r--docs/users_guide/using.xml10
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index ee92648b1e..2103260671 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -1735,11 +1735,11 @@
</row>
<row>
- <entry><option>-funbox-strict-primitive-fields</option></entry>
+ <entry><option>-funbox-small-strict-fields</option></entry>
<entry>Flatten strict constructor fields with a
pointer-sized representation</entry>
<entry>dynamic</entry>
- <entry><option>-fno-unbox-strict-primitive-fields</option></entry>
+ <entry><option>-fno-unbox-small-strict-fields</option></entry>
</row>
<row>
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 1e81955b3c..292f4fe1c0 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1862,8 +1862,8 @@ f "2" = 2
<varlistentry>
<term>
- <option>-funbox-strict-primitive-fields</option>:
- <indexterm><primary><option>-funbox-strict-primitive-fields</option></primary></indexterm>
+ <option>-funbox-small-strict-fields</option>:
+ <indexterm><primary><option>-funbox-small-strict-fields</option></primary></indexterm>
<indexterm><primary>strict constructor fields</primary></indexterm>
<indexterm><primary>constructor fields, strict</primary></indexterm>
</term>
@@ -1874,7 +1874,7 @@ f "2" = 2
pointer to be unpacked, if possible. It is equivalent to
adding an <literal>UNPACK</literal> pragma (see <xref
linkend="unpack-pragma"/>) to every strict constructor
- field that fullfills the size restriction.
+ field that fulfils the size restriction.
</para>
<para>For example, the constructor fields in the following
@@ -1888,12 +1888,12 @@ data D = D !C
would all be represented by a single
<literal>Int#</literal> (see <xref linkend="primitives"/>)
value with
- <option>-funbox-strict-primitive-fields</option> enabled.
+ <option>-funbox-small-strict-fields</option> enabled.
</para>
<para>This option is less of a sledgehammer than
<option>-funbox-strict-fields</option>: it should rarely make things
- worse. If you use <option>-funbox-strict-primitive-fields</option>
+ worse. If you use <option>-funbox-small-strict-fields</option>
to turn on unboxing by default you can disable it for certain
constructor fields using the <literal>NOUNPACK</literal> pragma (see
<xref linkend="nounpack-pragma"/>).</para>