Skip to content

Commit d06e4d9

Browse files
author
Guannan Wei
committed
try not blowing the stack
1 parent 3cefa28 commit d06e4d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

benchmarks/wasm/count.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
)
1616
(func (;1;) (type 1)
1717
;; TODO: now setting it to 100K will result in stack overflow
18-
i32.const 10000 ;; it will not terminate when it's 1mil
18+
i32.const 1000 ;; it will not terminate when it's 1mil
1919
;; TODO: this doesn't seem like an error in our semantics
2020
;; but something about sbt. But why?
2121
call 0
2222
)
2323
(start 1)
24-
)
24+
)

benchmarks/wasm/return_call.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
end
2727
)
2828
(func (;2;) (type 1)
29-
i64.const 100000
29+
i64.const 10000 ;; 100000 seems causing Github CI failed
3030
call 0
3131
)
3232
(start 2)
33-
)
33+
)

0 commit comments

Comments
 (0)