Skip to content

Commit c9dedb6

Browse files
committed
remove unnecessary guard for constants
1 parent f125fdd commit c9dedb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/core/js_exp_make.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ let unchecked_int32_mul ?comment e1 e2 : J.expression =
16221622
let int32_pow ?comment (e1 : t) (e2 : t) : J.expression =
16231623
match (e1.expression_desc, e2.expression_desc) with
16241624
| Number (Int {i = i1}), Number (Int {i = i2}) ->
1625-
to_int32 (int ?comment (Ext_int.int32_pow i1 i2))
1625+
int ?comment (Ext_int.int32_pow i1 i2)
16261626
| _ -> to_int32 (float_pow ?comment e1 e2)
16271627

16281628
let rec int32_bxor ?comment (e1 : t) (e2 : t) : J.expression =

0 commit comments

Comments
 (0)