@@ -143,8 +143,7 @@ class virtual map =
143
143
since GC does not rely on it
144
144
*)
145
145
(* shallow copy, like [x.slice] *)
146
- (* For [caml_array_append]*)
147
- (* | Tag_ml_obj of expression *) (* js true/false*)
146
+ (* For [caml_array_append]*) (* js true/false*)
148
147
(* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence
149
148
[typeof] is an operator
150
149
*)
@@ -195,10 +194,6 @@ class virtual map =
195
194
if it's know at compile time, we can turn it into
196
195
f(args[0], args[1], ... )
197
196
*)
198
- (* {[ Bind (a,b) ]}
199
- is literally
200
- {[ a.bind(b) ]}
201
- *)
202
197
(* Analysze over J expression is hard since,
203
198
some primitive call is translated
204
199
into a plain call, it's better to keep them
@@ -401,8 +396,6 @@ class virtual map =
401
396
| String_append (_x , _x_i1 ) ->
402
397
let _x = o#expression _x in
403
398
let _x_i1 = o#expression _x_i1 in String_append (_x, _x_i1)
404
- | Anything_to_number _x ->
405
- let _x = o#expression _x in Anything_to_number _x
406
399
| Bool _x -> let _x = o#bool _x in Bool _x
407
400
| Typeof _x -> let _x = o#expression _x in Typeof _x
408
401
| Js_not _x -> let _x = o#expression _x in Js_not _x
@@ -429,9 +422,6 @@ class virtual map =
429
422
| FlatCall (_x , _x_i1 ) ->
430
423
let _x = o#expression _x in
431
424
let _x_i1 = o#expression _x_i1 in FlatCall (_x, _x_i1)
432
- | Bind (_x , _x_i1 ) ->
433
- let _x = o#expression _x in
434
- let _x_i1 = o#expression _x_i1 in Bind (_x, _x_i1)
435
425
| Call (_x , _x_i1 , _x_i2 ) ->
436
426
let _x = o#expression _x in
437
427
let _x_i1 = o#list (fun o -> o#expression) _x_i1 in
0 commit comments