summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Dimino <jeremie@dimino.org>2015-08-25 16:18:53 +0000
committerJérémie Dimino <jeremie@dimino.org>2015-08-25 16:18:53 +0000
commitb3cf02c1ef8fb7af9d0d601f2ed5881c28915e55 (patch)
tree9fa355791716222c4d35bd0741f33eced4b75abb
parent79978e5a39c7f72f962f0bcc7c593e8619284d63 (diff)
downloadocaml-b3cf02c1ef8fb7af9d0d601f2ed5881c28915e55.tar.gz
Allow unboxing of int64 constants on 32 bit targets
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--asmcomp/cmmgen.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/asmcomp/cmmgen.ml b/asmcomp/cmmgen.ml
index 5653f1921c..1547ccffc5 100644
--- a/asmcomp/cmmgen.ml
+++ b/asmcomp/cmmgen.ml
@@ -1291,8 +1291,7 @@ let rec is_unboxed_number e =
match e with
| Uconst(Uconst_ref(_, Uconst_float _)) -> Boxed Boxed_float
| Uconst(Uconst_ref(_, Uconst_int32 _)) -> Boxed (Boxed_integer Pint32)
- | Uconst(Uconst_ref(_, Uconst_int64 _)) when size_int = 8 ->
- Boxed (Boxed_integer Pint64)
+ | Uconst(Uconst_ref(_, Uconst_int64 _)) -> Boxed (Boxed_integer Pint64)
| Uconst(Uconst_ref(_, Uconst_nativeint _)) ->
Boxed (Boxed_integer Pnativeint)
| Uprim(p, _, _) ->