aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-30 15:20:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-03 10:57:33 -0700
commit4091984a0c897c53b09de5a7caf64f9819a9be6e (patch)
treeb65e4ce59ca90d2ee4e0e4cdcea733048da542c8 /src/jsifier.js
parente91ceb07780515b60568e81432a0ec0e0ce9f24b (diff)
remove unneeded EMIT_GENERATED_FUNCTIONS
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 64da4228..0e5f8ef3 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -1849,14 +1849,14 @@ function JSify(data, functionsOnly, givenFunctions) {
var shellParts = read(shellFile).split('{{BODY}}');
print(processMacros(preprocess(shellParts[1])));
// Print out some useful metadata
- if (EMIT_GENERATED_FUNCTIONS || PGO) {
+ if (RUNNING_JS_OPTS || PGO) {
var generatedFunctions = JSON.stringify(keys(Functions.implementedFunctions).filter(function(func) {
return IGNORED_FUNCTIONS.indexOf(func.ident) < 0;
}));
if (PGO) {
print('PGOMonitor.allGenerated = ' + generatedFunctions + ';\nremoveRunDependency("pgo");\n');
}
- if (EMIT_GENERATED_FUNCTIONS) {
+ if (RUNNING_JS_OPTS) {
print('// EMSCRIPTEN_GENERATED_FUNCTIONS: ' + generatedFunctions + '\n');
}
}