Tracer Dump

24 views
Skip to first unread message

Florian Loitsch

unread,
Jun 19, 2014, 10:40:40 AM6/19/14
to Dart Compiler Developers
I recently committed a CL that makes emitting tracer-output easier.
Instead of changing the hard-coded variables in tracer.dart, it now uses the env-variable "DUMP_IR".
The pattern given to DUMP_IR must be regular expression (empty RE is fine).

Examples:
DART_VM_OPTIONS='-DDUMP_IR=m.*n' sdk/bin/dart2js ...
DART_VM_OPTIONS='-DDUMP_IR=' sdk/bin/dart2js ...  # emits all methods.

--
Give a man a fire and he's warm for the whole day,
but set fire to him and he's warm for the rest of his life. - Terry Pratchett
Reply all
Reply to author
Forward
0 new messages