Support external context in the snapshot tool (#2870)
This patch fixes #2869. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
4331e39b9a
commit
76a1fc5674
@@ -668,7 +668,7 @@ main (int argc,
|
||||
|
||||
#ifdef JERRY_ENABLE_EXTERNAL_CONTEXT
|
||||
|
||||
jerry_context_t *context_p = jerry_create_context (512*1024, context_alloc, NULL);
|
||||
jerry_context_t *context_p = jerry_create_context (CONFIG_MEM_HEAP_AREA_SIZE, context_alloc, NULL);
|
||||
jerry_port_default_set_current_context (context_p);
|
||||
|
||||
#endif /* JERRY_ENABLE_EXTERNAL_CONTEXT */
|
||||
|
||||
Reference in New Issue
Block a user