Skip to content

Commit 6f5eabf

Browse files
committed
Make %raw runtime free so we can use it anywhere in bootstrapping
1 parent 59701eb commit 6f5eabf

32 files changed

+1994
-2591
lines changed

jscomp/runtime/caml_chrome_debugger.ml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,3 @@ let polyVar meta xs =
182182
xs |. addProp (cacheSymbol "BsPolyVar") {value = meta}
183183

184184

185-
[@@@warning "-60"]
186-
module Use = Js_internalRaw
187-
188-

jscomp/runtime/caml_external_polyfill.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* You should have received a copy of the GNU Lesser General Public License
2222
* along with this program; if not, write to the Free Software
2323
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
24-
module Use = Js_internalRaw
2524

2625

2726
type global

jscomp/runtime/caml_float.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,3 @@ let caml_tan_float x =
138138
let z = exp (-. x) in
139139
(y +. z) /. (y -. z ) *)
140140

141-
[@@@ocaml.warning "-60"]
142-
module Use = Js_internalRaw
143-

jscomp/runtime/caml_format.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,5 +679,3 @@ let caml_int32_of_string = caml_int_of_string
679679
let caml_nativeint_of_string = caml_int32_of_string
680680

681681

682-
[@@@warning "-60"]
683-
module Use = Js_internalRaw

jscomp/runtime/caml_int64.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,5 +477,3 @@ let get64 (s : string) (i:int) : t =
477477
(Caml_nativeint_extern.of_int (Caml_char.code s.[i+6]) << 48 )
478478
(Caml_nativeint_extern.of_int (Caml_char.code s.[i+7]) << 56 )))
479479

480-
[@@@ocaml.warning "-60"]
481-
module Use = Js_internalRaw

jscomp/runtime/caml_io.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,3 @@ let caml_ml_out_channels_list () : out_channel list =
113113
[stdout; stderr]
114114

115115

116-
[@@@warning "-60"]
117-
module Use = Js_internalRaw

jscomp/runtime/caml_lexer.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,5 +365,3 @@ let caml_new_lex_engine : lex_tables -> int -> lexbuf -> int
365365
= fun tbl i buf ->
366366
caml_new_lex_engine_aux tbl i buf (Failure empty_token_lit)
367367

368-
[@@@warning "-60"]
369-
module Use = Js_internalRaw

jscomp/runtime/caml_obj.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,5 +388,3 @@ let caml_max (x : Caml_obj_extern.t) y =
388388

389389
let caml_obj_set_tag = Caml_obj_extern.set_tag
390390

391-
[@@@warning "-60"]
392-
module Use = Js_internalRaw

jscomp/runtime/caml_parser.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,5 +391,3 @@ let caml_set_parser_trace : bool -> bool = [%raw{|function (v) {
391391
return old;
392392
}|}]
393393

394-
[@@@warning "-60"]
395-
module Use = Js_internalRaw

jscomp/runtime/caml_splice_call.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ let spliceObjApply : obj -> obj -> obj -> obj = [%raw{|function(obj,name,args){
5252
return (obj[name]).apply(obj,applied)
5353
}|}]
5454

55-
[@@@warning "-60"]
56-
module Use = Js_internalRaw

0 commit comments

Comments
 (0)