Skip to content

Commit 3dd80fb

Browse files
committed
Add stack space to ThreadContext
1 parent 652ad72 commit 3dd80fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/fizzy/instantiate.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ struct Instance;
2525
class ThreadContext
2626
{
2727
public:
28+
Value stack_space[512];
29+
30+
size_t space_left = 512;
31+
2832
int depth = 0;
2933

3034
void lock() noexcept { ++depth; }

0 commit comments

Comments
 (0)