We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d5ec4 commit ec3b2b1Copy full SHA for ec3b2b1
rvm.c
@@ -50,8 +50,8 @@ struct rvm rvm_new(void *mem, rvm_uint memsz)
50
51
rvm_uint rvm_calcfmem(rvm_uint sz)
52
{
53
- /* align up + trap instruction */
54
- return (sz + (RVM_INLN << 1) - 1) & ~(RVM_INLN - 1);
+ /* align up + trap instruction + extra */
+ return ((sz + (RVM_INLN << 1) - 1) & ~(RVM_INLN - 1)) + 32;
55
}
56
57
const char *rvm_strstat(signed e)
0 commit comments