Implement function.toString operation (#4752)
May increase the memory consumtpion heavily. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -120,6 +120,8 @@ def get_arguments():
|
||||
help='enable the jerry debugger (%(choices)s)')
|
||||
coregrp.add_argument('--js-parser', metavar='X', choices=['ON', 'OFF'], type=str.upper,
|
||||
help='enable js-parser (%(choices)s)')
|
||||
coregrp.add_argument('--function-to-string', metavar='X', choices=['ON', 'OFF'], type=str.upper,
|
||||
help='enable function toString (%(choices)s)')
|
||||
coregrp.add_argument('--line-info', metavar='X', choices=['ON', 'OFF'], type=str.upper,
|
||||
help='provide line info (%(choices)s)')
|
||||
coregrp.add_argument('--logging', metavar='X', choices=['ON', 'OFF'], type=str.upper,
|
||||
@@ -208,6 +210,7 @@ def generate_build_options(arguments):
|
||||
build_options_append('JERRY_EXTERNAL_CONTEXT', arguments.external_context)
|
||||
build_options_append('JERRY_DEBUGGER', arguments.jerry_debugger)
|
||||
build_options_append('JERRY_PARSER', arguments.js_parser)
|
||||
build_options_append('JERRY_FUNCTION_TO_STRING', arguments.function_to_string)
|
||||
build_options_append('JERRY_LINE_INFO', arguments.line_info)
|
||||
build_options_append('JERRY_LOGGING', arguments.logging)
|
||||
build_options_append('JERRY_GLOBAL_HEAP_SIZE', arguments.mem_heap)
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ def skip_if(condition, desc):
|
||||
OPTIONS_COMMON = ['--lto=off']
|
||||
OPTIONS_PROFILE_MIN = ['--profile=minimal']
|
||||
OPTIONS_PROFILE_ES51 = ['--profile=es5.1']
|
||||
OPTIONS_PROFILE_ESNEXT = ['--profile=es.next']
|
||||
OPTIONS_PROFILE_ESNEXT = ['--profile=es.next', '--function-to-string=on']
|
||||
OPTIONS_STACK_LIMIT = ['--stack-limit=96']
|
||||
OPTIONS_GC_MARK_LIMIT = ['--gc-mark-limit=16']
|
||||
OPTIONS_MEM_STRESS = ['--mem-stress-test=on']
|
||||
|
||||
Reference in New Issue
Block a user