aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-10 13:59:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-10 13:59:40 -0700
commit8be82c04408cab6519d3ed58305465ae97ca9da3 (patch)
tree8cc33c4bfd17d305ae19fa417d105ab5816c8e2f /src/compiler.js
parentb1240603040c53bbedb3f2ac08063532a96bcd0e (diff)
pgo for unused function detection
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 3047daf1..447d34b7 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -163,6 +163,7 @@ if (SAFE_HEAP >= 2) {
EXPORTED_FUNCTIONS = set(EXPORTED_FUNCTIONS);
EXPORTED_GLOBALS = set(EXPORTED_GLOBALS);
EXCEPTION_CATCHING_WHITELIST = set(EXCEPTION_CATCHING_WHITELIST);
+DEAD_FUNCTIONS = set(DEAD_FUNCTIONS);
RUNTIME_DEBUG = LIBRARY_DEBUG || GL_DEBUG;