first version of a memory profiler

This commit is contained in:
Araq 2012-10-10 00:41:34 +02:00
commit d43febf81e
8 changed files with 115 additions and 54 deletions

View file

@ -2045,7 +2045,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
when defined(endb):
include "system/debugger"
when defined(profiler):
when defined(profiler) or defined(memProfiler):
include "system/profiler"
{.pop.} # stacktrace