Adding configuration flag indicating whether Global Environment is bound to Global Object or it is simple declarative lexical environment.
This commit is contained in:
@@ -104,4 +104,10 @@
|
||||
*/
|
||||
#define CONFIG_ECMA_EXCEPTION_SUPPORT
|
||||
|
||||
/**
|
||||
* Link Global Environment to an empty declarative lexical environment
|
||||
* instead of lexical environment bound to Global Object.
|
||||
*/
|
||||
// #define CONFIG_ECMA_GLOBAL_ENVIRONMENT_DECLARATIVE
|
||||
|
||||
#endif /* !CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user