aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-02 17:50:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-03 10:53:57 -0700
commit8b76d21dae3289848262900a0d4851593136e80b (patch)
treef3a9941709359fcf62990cef481b65005bee2ad4 /tools/test-js-optimizer-asm-pre.js
parenta859dbb0da4a1545cb3537ce9d495598cecefb60 (diff)
update js optimizer tests
Diffstat (limited to 'tools/test-js-optimizer-asm-pre.js')
-rw-r--r--tools/test-js-optimizer-asm-pre.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/test-js-optimizer-asm-pre.js b/tools/test-js-optimizer-asm-pre.js
index 5c004342..9e6edf0f 100644
--- a/tools/test-js-optimizer-asm-pre.js
+++ b/tools/test-js-optimizer-asm-pre.js
@@ -73,27 +73,6 @@ function b($this, $__n) {
h((~~g) ^ -1); // do NOT convert this, as it would lead to ~~~ which is confusing in asm, given the role of ~~
return;
}
-function rett() {
- if (f()) {
- g();
- return 5;
- }
- // missing final return, need to add it
-}
-function ret2t() {
- if (f()) {
- g();
- return;
- }
- // missing final return, but no need
-}
-function retf() {
- if (f()) {
- g();
- return +h();
- }
- // missing final return, need it as a float
-}
function i32_8() {
if (((HEAP8[$4 & 16777215] | 0) << 24 >> 24) == 0) {
print(5);