aboutsummaryrefslogtreecommitdiff
path: root/tools/eliminator/eliminator-test-output.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r--tools/eliminator/eliminator-test-output.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js
new file mode 100644
index 00000000..f7dee2b0
--- /dev/null
+++ b/tools/eliminator/eliminator-test-output.js
@@ -0,0 +1,37 @@
+function f() {
+
+
+
+
+ HEAP[123] = (GLOB[1] + 1) / 2;
+}
+var g = function(a1, a2) {
+ var __label__;
+ var a = 1;
+
+ var c = a * 2 - 1;
+
+ a++;
+ foo(c);
+
+ foo(2);
+ for (var i = 0; i < 5; i++) {
+ var q = {
+ a: 1
+ } + [ 2, 3 ];
+ }
+ for (var iterator in SOME_GLOBAL) {
+ quux(iterator);
+ }
+ var $0 = HEAP[5];
+ HEAP[myglobal] = 123;
+
+ if ($0 < 0) {
+ __label__ = 1;
+ } else {
+ __label__ = 2;
+ }
+ var sadijn = new asd;
+ sadijn2 = "qwe%sert";
+ this.Module || (this.Module = {});
+};