Skip to content

Commit 15b4ffd

Browse files
authored
Reduce max interpreter depth from 250 to 200 (#7770)
This is an arbitrary limit, and it seems some LTO builds may start to hit the old limit after #7767 200 should still be enough for anybody
1 parent 53ab5f5 commit 15b4ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wasm-interpreter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4428,7 +4428,7 @@ class ModuleRunnerBase : public ExpressionRunner<SubType> {
44284428
}
44294429

44304430
// The maximum call stack depth to evaluate into.
4431-
static const Index maxDepth = 250;
4431+
static const Index maxDepth = 200;
44324432

44334433
protected:
44344434
void trapIfGt(uint64_t lhs, uint64_t rhs, const char* msg) {

0 commit comments

Comments
 (0)