You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request chakra-core#394 from jianchun:parser
This enables partially building lib/Parser.
- Changed many lib/Runtime headers as lib/Parser includes "Runtime.h".
Also changed some lib/Common headers and pulled in a few PAL headers to
make it build.
- vtinfo.h: clang doesn't allow class initialization list
```Base(v), __VA_ARGS__``` if ```__VA_ARGS__``` is empty. Added an
```..._INIT``` version for extra initialization list.
- Added symbol ENABLE_GLOBALIZATION, ENABLE_SCRIPT_DEBUGGING,
ENABLE_SCRIPT_PROFILING to #ifdef out features on Linux for now. Those
need revisit in future.
- Added emmintrin.h include, #ifdef out conflicting __m128i from palrt.h.
- Added overloaded versions of InterlockedExchangeAdd and
InterlockedExchangeSubtract, needed by our code.
- Forward enum declarations are not allowed unless the delcarations
specifies enum storage type. Added storage type or int by default.
- "static" template method specializations are not allowed in class body.
Moved specializations out of class and removed "static" keyword.
- "default", "and", "or", "xor", "not" are keywords not allowed as enum
members. Renamed.
- function default parameter value is not allowed in implementation.
Removed or moved to declaration.
0 commit comments