Adding configuration flag indicating whether Global Environment is bound to Global Object or it is simple declarative lexical environment.

This commit is contained in:
Ruben Ayrapetyan
2014-09-08 19:11:40 +04:00
parent dafbaa742e
commit fbcd393962
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -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 */