Skip to content

Commit

Permalink
tools/jsc/include/thinthin.h: new file
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 4, 2021
1 parent a899839 commit 0f6b026
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tools/jsc/include/thinthin.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#define thinthin_tablesize_default 65536
#define thinthin_memsize_default (128 * 1024 * 1024LL)
#define thinthin_stacksize_default (1 * 1024 * 1024LL)
#define thinthin_stackbot_default (thinthin_memsize_default - thinthin_stacksize_default)

const struct {
long long tablesize;
long long memsize;
long long stacksize;
long long stackbottom;
} default_sizes = {
thinthin_tablesize_default,
thinthin_memsize_default,
thinthin_stacksize_default,
thinthin_stackbot_default,
};

0 comments on commit 0f6b026

Please sign in to comment.