diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-25 15:51:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-25 15:51:11 -0700 |
commit | e2614195d865de86046f84fc56e74c4aa338ceb0 (patch) | |
tree | 15f0f9a65897e3932e1f34f2cfd166fcd2cc9eff | |
parent | 3b278b74a6111ece31de29dfec54eae957576a62 (diff) |
hide output by default in compiler_funcs.html, main use is profiling
-rw-r--r-- | src/compiler_funcs.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compiler_funcs.html b/src/compiler_funcs.html index 92553e8a..f8595303 100644 --- a/src/compiler_funcs.html +++ b/src/compiler_funcs.html @@ -5,17 +5,19 @@ Open the web console to see stderr output <hr> <pre id="output"></pre> <script> - arguments = ['tmp/emscripten_temp/tmpffWtYF.txt', 'tmp/emscripten_temp/tmpnKzHrf.func_0.ll', 'funcs', 'tmp/emscripten_temp/tmpWD6y0W.json']; // copy from emscripten.py output + arguments = ['tmp/emscripten_temp/tmpVpJZAp.txt', 'tmp/emscripten_temp/tmpnaEsKI.func_0.ll', 'funcs', 'tmp/emscripten_temp/tmpYxajFl.json']; // copy from emscripten.py output var outputElement = document.getElementById('output'); print = function(x) { - outputElement.innerHTML += x; + outputElement.innerHTML += 'output hidden, profiling mode'; + print = function(){}; + //outputElement.innerHTML += x; }; // For generated code var Module = { print: function(x) { - outputElement.innerHTML += x; + throw 'what?' } }; </script> |