diff --git a/src/compiler/hxb/hxbLib.ml b/src/compiler/hxb/hxbLib.ml index 08372254e15..0e22a81a44d 100644 --- a/src/compiler/hxb/hxbLib.ml +++ b/src/compiler/hxb/hxbLib.ml @@ -2,7 +2,7 @@ open Globals open Common open ExtString -class hxb_library file_path = object(self) +class hxb_library file_path hxb_times = object(self) inherit abstract_hxb_lib val zip = lazy (Zip.open_in file_path) @@ -19,7 +19,7 @@ class hxb_library file_path = object(self) let close = Timer.timer ["hxblib";"read"] in List.iter (function | ({ Zip.filename = "StringPool.hxb" | "StringPool.macro.hxb" as filename} as entry) -> - let reader = new HxbReader.hxb_reader (["hxb";"internal"],"StringPool") (HxbReader.create_hxb_reader_stats()) None true (* TODO: -D hxb-times *) in + let reader = new HxbReader.hxb_reader (["hxb";"internal"],"StringPool") (HxbReader.create_hxb_reader_stats()) None hxb_times in let zip = Lazy.force zip in let data = Bytes.unsafe_of_string (Zip.read_entry zip entry) in ignore(reader#read (new HxbReaderApi.hxb_reader_api_null) data STR); @@ -74,4 +74,4 @@ let create_hxb_lib com file_path = with Not_found -> failwith ("hxb lib " ^ file_path ^ " not found") in - new hxb_library file + new hxb_library file (Common.defined com Define.HxbTimes)