Skip to content

Commit 321d719

Browse files
committed
snapshot
1 parent 5aa3c90 commit 321d719

File tree

4 files changed

+268
-262
lines changed

4 files changed

+268
-262
lines changed

jscomp/core/lam_convert.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -795,9 +795,9 @@ let convert (exports : Set_ident.t) (lam : Lambda.lambda) : Lam.t * Lam_module_i
795795
| {
796796
sw_failaction = None ;
797797
sw_blocks = [];
798-
sw_blocks_full = 0;
798+
sw_numblocks = 0;
799799
sw_consts ;
800-
sw_consts_full ;
800+
sw_numconsts ;
801801
} ->
802802
begin match happens_to_be_diff sw_consts with
803803
| Some 0 -> e
@@ -814,15 +814,15 @@ let convert (exports : Set_ident.t) (lam : Lambda.lambda) : Lam.t * Lam_module_i
814814
sw_consts =
815815
Ext_list.map_snd sw_consts convert_aux;
816816
sw_consts_full =
817-
Ext_list.length_ge sw_consts sw_consts_full;
817+
Ext_list.length_ge sw_consts sw_numconsts;
818818
sw_names = s.sw_names;
819819
}
820820
end
821821
| _ ->
822822
Lam.switch e
823-
{ sw_consts_full = Ext_list.length_ge s.sw_consts s.sw_consts_full ;
823+
{ sw_consts_full = Ext_list.length_ge s.sw_consts s.sw_numconsts ;
824824
sw_consts = Ext_list.map_snd s.sw_consts convert_aux;
825-
sw_blocks_full = Ext_list.length_ge s.sw_blocks s.sw_blocks_full;
825+
sw_blocks_full = Ext_list.length_ge s.sw_blocks s.sw_numblocks;
826826
sw_blocks = Ext_list.map_snd s.sw_blocks convert_aux;
827827
sw_failaction =Ext_option.map s.sw_failaction convert_aux;
828828
sw_names = s.sw_names } in

0 commit comments

Comments
 (0)