Remove caml_ensure_spacetime_dot_o_is_included

master
David Allsopp 2020-09-14 11:42:59 +01:00
parent 3b1d4dafe0
commit 89ef6199bd
2 changed files with 0 additions and 6 deletions

View File

@ -19,8 +19,6 @@
#include "caml/io.h"
#include "caml/spacetime.h"
int caml_ensure_spacetime_dot_o_is_included = 42;
CAMLprim value caml_spacetime_only_works_for_native_code(value foo, ...)
{
caml_failwith("Spacetime profiling only works for native code");

View File

@ -330,8 +330,6 @@ extern void caml_install_invalid_parameter_handler();
#endif
extern int caml_ensure_spacetime_dot_o_is_included;
/* Main entry point when loading code from a file */
CAMLexport void caml_main(char_os **argv)
@ -344,8 +342,6 @@ CAMLexport void caml_main(char_os **argv)
char_os * shared_lib_path, * shared_libs;
char_os * exe_name, * proc_self_exe;
caml_ensure_spacetime_dot_o_is_included++;
/* Initialize the domain */
caml_init_domain();