diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-07 16:52:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-07 16:52:27 -0700 |
commit | e5b7fab17eccd032160a50f859b9430819e13929 (patch) | |
tree | 212be7a2e6ab0692345ef0871a2bf78f35e5c708 /tools/eliminator/asm-eliminator-test-output.js | |
parent | 0cd8926f0f8b7076e2badcb0c6d03f680b677179 (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.js | 6 |
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); +} |