* enabled by ESCARGOT_USE_CUSTOM_LOGGING flag
* user can registers customized logging through Platform's inherited functions
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* fix github actions to use python2
* fix clang 10.0.0 build error related to '-Wdeprecated-copy'
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* add wasm_extern_vec_delete_with_size api to handle exception cases during the imports reading
* wasm_extern_vec_t is now correctly deallocated
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* fetch the lastest commit which includes importtypes patch
* add wasm_instance_func_index api for function name
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* to keep overall file operations as small as possible,
remove only the least recently written cache file
* trigger cache replacement when the number of cache reaches the limit
* add octane loading TC for codecache test
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* first, try to lock cache directory to enable CodeCache
* if file I/O fails, stop caching and remove all cache files
* flush and sync files when writing cache
* add tests to check file error cases
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* calculate cache file directory based on $HOME env
* handle all cache list in one file
* use source code's hash value for its cache data file name
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* CodeCache generates one meta file and data file for each JS file
* enable coverity scan to check CodeCache too
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* add cctest, debugger test and clang build jobs
* disable travis and some jobs in Jenkins
* enable coverity scan only for push event
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* handle ThrowStaticErrorOperation bytecode with default error message
* LoadRegexp bytecode could have empty string as its option string
* test on new-es benchmarks
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>