summaryrefslogtreecommitdiffstats
path: root/bytecomp/symtable.ml
diff options
context:
space:
mode:
Diffstat (limited to 'bytecomp/symtable.ml')
-rw-r--r--bytecomp/symtable.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/bytecomp/symtable.ml b/bytecomp/symtable.ml
index 2a5947e07..f75025b41 100644
--- a/bytecomp/symtable.ml
+++ b/bytecomp/symtable.ml
@@ -140,6 +140,9 @@ let rec transl_const = function
(fun c -> Obj.set_field block !pos (transl_const c); incr pos)
fields;
block
+ | Const_float_array fields ->
+ transl_const
+ (Const_block(0, List.map (fun f -> Const_base(Const_float f)) fields))
(* Build the initial table of globals *)