aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-30 10:36:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-30 10:36:32 -0700
commitdc7a8850f18e722f03d1c02abb1518e6b80238a5 (patch)
tree4e3c3d4087f01e61cba18880960f865c1096dd12
parente814b40a7111c61220cdba6a95ab62b43a33bcba (diff)
export PGOMonitor
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 35dfeba9..4c61a86e 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -879,6 +879,7 @@ var PGOMonitor = {
Module.print('-s DEAD_FUNCTIONS=\'' + JSON.stringify(dead) + '\'\n');
}
};
+Module['PGOMonitor'] = PGOMonitor;
__ATEXIT__.push({ func: function() { PGOMonitor.dump() } });
addPreRun(function() { addRunDependency('pgo') });
#endif