diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-12-25 12:28:30 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-12-25 12:28:30 -0800 |
commit | 8e5c52df194f951187e897e5213849828e41b490 (patch) | |
tree | 4f42c35f387cf5553893fa8db58299330bf582bd /src/compiler.js | |
parent | 7985433ea6d2beb324f8ae7cd653407376955555 (diff) |
code cleanup
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js index bc53a5c2..1cdc0002 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -22,6 +22,7 @@ load('jsifier.js'); //=============================== // Override settings.js + var settings = JSON.parse(readline()); for (setting in settings) { this[setting] = settings[setting]; @@ -35,6 +36,7 @@ load('runtime.js'); assert(!(USE_TYPED_ARRAYS && SAFE_HEAP)); // Read llvm + var lines = []; var line; do { @@ -44,6 +46,7 @@ do { } while(true); // Do it + eval(preprocess(read('library.js'), CONSTANTS)); print(JSify(analyzer(intertyper(lines)))); |