Is called by compile_main_function
# Hook to add specif piece of code at the begin on the main C function.
#
# Is called by `compile_main_function`
fun compile_begin_main(v: VISITOR)
do
end
src/compiler/abstract_compiler.nit:884,2--889,4
redef fun compile_begin_main(v)
do
super
if not modelbuilder.toolcontext.opt_trace_memory.value then return
v.add("mlog = fopen(\"memory.log\", \"w\");")
v.add("clock_gettime(CLOCK_MONOTONIC, &mlog_time0);")
end
src/compiler/memory_logger.nit:45,2--53,4