Skip to content
Snippets Groups Projects
Commit 9f1cce49 authored by rswindell's avatar rswindell
Browse files

Changed JAVASCRIPT_MAX_BYTES definition from 8MB to 4MB.

Created JAVASCRIPT_GC_FREQUENCY definition for branch callbacks.
parent 8024bc8b
Branches
Tags
No related merge requests found
......@@ -65,10 +65,11 @@
#define UNKNOWN_LOAD_ERROR "Unknown load error - Library mismatch?"
#ifdef JAVASCRIPT
#define JAVASCRIPT_MAX_BYTES (8*1024*1024)
#define JAVASCRIPT_MAX_BYTES (4*1024*1024)
#define JAVASCRIPT_CONTEXT_STACK (16*1024)
#define JAVASCRIPT_BRANCH_LIMIT 99999999
#define JAVASCRIPT_YIELD_FREQUENCY 10000
#define JAVASCRIPT_GC_FREQUENCY 100
#endif
#ifndef __FLAT__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment