aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/postamble.js b/src/postamble.js
index 72233980..6907814b 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -8,24 +8,6 @@ function run(args) {
{{GLOBAL_VARS}}
- var failures = 0;
- while (globalFuncs.length > 0) {
- var func = globalFuncs.pop();
- try {
- var x = func();
- if (x == undefined) throw 'undefined';
- failures = 0;
- } catch (e) {
- failures++;
- if (failures > 2*globalFuncs.length) {
- throw 'Failed to generate global values';
- }
- globalFuncs.unshift(func);
- // We will try again later. The global vars we depend on should be resolved by then
- }
- }
- assert(globalFuncs.length === 0);
-
var argc = args.length+1;
function pad() {
for (var i = 0; i < QUANTUM_SIZE-1; i++) {