Skip to content

Commit

Permalink
fixes from @mhofman
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed May 4, 2023
1 parent c7d206b commit 70faab7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions xs/makefiles/win/xst.mak
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ C_OPTIONS = \
/D mxAliasInstance=0 \
/D mxDebug=1 \
/D mxExplicitResourceManagement=1 \
/D mxLockdown=1 \
/D mxNoConsole=1 \
/D mxParse=1 \
/D mxProfile=1 \
Expand Down
10 changes: 5 additions & 5 deletions xs/sources/xsSnapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ static void fxWriteStack(txMachine* the, txSnapshot* snapshot);
#define mxChunkFlag 0x80000000

#if mxExplicitResourceManagement
#define mxCallbacksLength 505
#define mxCallbacksLength 511
#else
#define mxCallbacksLength 512
#ednif
#define mxCallbacksLength 504
#endif
static txCallback gxCallbacks[mxCallbacksLength] = {
fx_AggregateError,
fx_Array_from,
Expand Down Expand Up @@ -535,8 +535,8 @@ static txCallback gxCallbacks[mxCallbacksLength] = {
fx_TypedArray_prototype_sort,
fx_TypedArray_prototype_subarray,
fx_TypedArray_prototype_toLocaleString,
fx_TypepArray_prototype_toReversed,
fx_TypepArray_prototype_toSorted,
fx_TypedArray_prototype_toReversed,
fx_TypedArray_prototype_toSorted,
fx_TypedArray_prototype_values,
fx_TypedArray_prototype_with,
fx_TypedArray,
Expand Down

0 comments on commit 70faab7

Please sign in to comment.