summaryrefslogtreecommitdiffstats
path: root/bytecomp/lambda.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-07-10 09:48:27 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-07-10 09:48:27 +0000
commitc226d5efeb43f25c7086e89733ec8073262aa2e0 (patch)
tree481cda5fe83465c0acf991782d8848ec867bd946 /bytecomp/lambda.ml
parentbbbf6d016497de98d776934e20fbac905d48d6a1 (diff)
Branchement du GC de la version bytecode sur le compilateur natif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@72 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'bytecomp/lambda.ml')
-rw-r--r--bytecomp/lambda.ml10
1 files changed, 6 insertions, 4 deletions
diff --git a/bytecomp/lambda.ml b/bytecomp/lambda.ml
index dba6eaac3..59fbe8290 100644
--- a/bytecomp/lambda.ml
+++ b/bytecomp/lambda.ml
@@ -8,8 +8,8 @@ type primitive =
| Psetglobal of Ident.t
| Pmakeblock of int
| Pfield of int
- | Psetfield of int
- | Pccall of string * int
+ | Psetfield of int * bool
+ | Pccall of string * int * bool
| Praise
| Psequand | Psequor | Pnot
| Pnegint | Paddint | Psubint | Pmulint | Pdivint | Pmodint
@@ -20,8 +20,10 @@ type primitive =
| Poffsetref of int
| Pnegfloat | Paddfloat | Psubfloat | Pmulfloat | Pdivfloat
| Pfloatcomp of comparison
- | Pgetstringchar | Psetstringchar
- | Pvectlength | Pgetvectitem | Psetvectitem
+ | Pstringlength | Pgetstringchar | Psetstringchar
+ | Psafegetstringchar | Psafesetstringchar
+ | Pvectlength | Pgetvectitem | Psetvectitem of bool
+ | Psafegetvectitem | Psafesetvectitem of bool
| Ptranslate of (int * int * int) array
and comparison =