Skip to content

Commit

Permalink
[MERGE #1759 @akroshg] Making SharedArrayBuffer to be experimental
Browse files Browse the repository at this point in the history
Merge pull request #1759 from akroshg:sab1
  • Loading branch information
akroshg committed Oct 18, 2016
2 parents f826899 + 8c8dd27 commit 966508f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/Common/ConfigFlagsList.h
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,12 @@ PHASE(All)
#define DEFAULT_CONFIG_ES7TrailingComma (true)
#define DEFAULT_CONFIG_ES7ValuesEntries (true)
#define DEFAULT_CONFIG_ESObjectGetOwnPropertyDescriptors (true)

#ifdef COMPILE_DISABLE_ESSharedArrayBuffer
#define DEFAULT_CONFIG_ESSharedArrayBuffer (false)
#else
#define DEFAULT_CONFIG_ESSharedArrayBuffer (false)
#endif
#define DEFAULT_CONFIG_ES6Verbose (false)
#define DEFAULT_CONFIG_ES6All (false)
// ES6 DEFAULT BEHAVIOR
Expand Down Expand Up @@ -785,7 +790,7 @@ PHASE(All)
// Release flags with parent and acronym
#ifndef FLAGPRA
#define FLAGPRA(Type, ParentName, Name, Acronym, String, Default) \
FLAGPR(Type, ParentName, Name, String, Default) \
FLAG_REGOVR_EXP(Type, Name, String, Default, ParentName, FALSE) \
FLAGNR(Type, Acronym, String, Default)
#endif

Expand Down Expand Up @@ -1017,6 +1022,10 @@ FLAGPR (Boolean, ES6, ES6Verbose , "Enable ES6 verbose tra
FLAGPR_REGOVR_EXP(Boolean, ES6, ArrayBufferTransfer , "Enable ArrayBuffer.transfer" , DEFAULT_CONFIG_ArrayBufferTransfer)

FLAGPR (Boolean, ES6, ESObjectGetOwnPropertyDescriptors, "Enable Object.getOwnPropertyDescriptors" , DEFAULT_CONFIG_ESObjectGetOwnPropertyDescriptors)

#ifndef COMPILE_DISABLE_ESSharedArrayBuffer
#define COMPILE_DISABLE_ESSharedArrayBuffer 0
#endif
FLAGPRA (Boolean, ES6, ESSharedArrayBuffer , sab , "Enable SharedArrayBuffer" , DEFAULT_CONFIG_ESSharedArrayBuffer)

// /ES6 (BLUE+1) features/flags
Expand Down

0 comments on commit 966508f

Please sign in to comment.