Skip to content

Commit

Permalink
jerry: use separate profile instead of polluting jerry (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
algebrait authored and yorkie committed Nov 6, 2018
1 parent 8d53446 commit 22d99f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -58,6 +58,8 @@ if(NOT DEFINED DISABLE_ES2015)
set(FEATURE_PROFILE "es2015-subset")
endif()

set(FEATURE_PROFILE ${CMAKE_CURRENT_SOURCE_DIR}/profiles/jerry/default.profile)

if(FEATURE_CPU_PROFILER)
set(FEATURE_FUNCTION_NAME ON)
endif()
Expand Down
2 changes: 1 addition & 1 deletion deps/jerry/jerry-core/profiles/es2015-subset.profile
@@ -1,2 +1,2 @@
CONFIG_DISABLE_ES2015_PROMISE_BUILTIN
# Currently an empty profile.

2 changes: 2 additions & 0 deletions profiles/jerry/default.profile
@@ -0,0 +1,2 @@
CONFIG_DISABLE_ES2015_PROMISE_BUILTIN

0 comments on commit 22d99f2

Please sign in to comment.