aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-08 11:47:14 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-10-08 11:47:14 -0400
commit0a229cf5a240a1ebf4ff5d0ebb501a286bc96202 (patch)
tree2797d054788e88863d77f9826dde94fb4c276c69 /tools/test-js-optimizer-asm-pre.js
parent05b6aa32a5f1633797f7eae390b3a8048b29ca69 (diff)
parentae5ef852920ce67449af7693f05a767a87aed976 (diff)
Merge branch 'incoming'
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);