aboutsummaryrefslogtreecommitdiff
path: root/tools/eliminator/asm-eliminator-test-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-07 16:52:27 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-07 16:52:27 -0700
commite5b7fab17eccd032160a50f859b9430819e13929 (patch)
tree212be7a2e6ab0692345ef0871a2bf78f35e5c708 /tools/eliminator/asm-eliminator-test-output.js
parent0cd8926f0f8b7076e2badcb0c6d03f680b677179 (diff)
infer untyped variables in js-optimizer.js by origin variable's type if they are just a copy
Diffstat (limited to 'tools/eliminator/asm-eliminator-test-output.js')
-rw-r--r--tools/eliminator/asm-eliminator-test-output.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/eliminator/asm-eliminator-test-output.js b/tools/eliminator/asm-eliminator-test-output.js
index e477c320..4cd9cbaa 100644
--- a/tools/eliminator/asm-eliminator-test-output.js
+++ b/tools/eliminator/asm-eliminator-test-output.js
@@ -123,4 +123,10 @@ function switchy() {
continue;
}
}
+function confuusion() {
+ var i = +0, j = +0;
+ func1(+i);
+ j = i;
+ func2(+j);
+}