1. When 'writable' property of array length turned into 'false', convert it into NonFastMode

2. If RegExp's source needs escapeSlash process, it should count the number of leading backSlashs

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
This commit is contained in:
Saebom Kim 2017-04-04 17:47:20 +09:00
commit 6d4ed41488
5 changed files with 107 additions and 410 deletions

View file

@ -68,7 +68,6 @@ CodeBlock* ScriptParser::generateCodeBlockTreeFromASTWalker(Context* ctx, String
#endif
if (parentCodeBlock) {
if (scopeCtx->m_hasDeleteId) {
CodeBlock* c = codeBlock;
while (c) {