{"push_id":1024989775,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"20a70ead8331a8d4fdb06a076afc4f17d28af066","before":"e75d0c3f4d9b182cad9231d772e95011131feaa8","commits":[{"sha":"20a70ead8331a8d4fdb06a076afc4f17d28af066","author":{"email":"8b5fd91f29a7013935f141368acb8097c2ea44a0@gmail.com","name":"gskachkov@gmail.com"},"message":"Invoking super()/super inside of the eval should not lead to SyntaxError\nhttps://bugs.webkit.org/show_bug.cgi?id=153864\n\nReviewed by Saam Barati.\n\nSource/JavaScriptCore:\n\nAdded support of the invoking super/super() inside of the eval within class.\nAlso support cases when eval is invoked in constructor, class method directly\nor via arrow function. Access to the new.target in eval is not part of this patch\nand will be implemented in https://bugs.webkit.org/show_bug.cgi?id=155545\n\n* bytecompiler/BytecodeGenerator.cpp:\n(JSC::BytecodeGenerator::BytecodeGenerator):\n(JSC::BytecodeGenerator::emitLoadArrowFunctionLexicalEnvironment):\n(JSC::BytecodeGenerator::isThisUsedInInnerArrowFunction):\n(JSC::BytecodeGenerator::isNewTargetUsedInInnerArrowFunction):\n(JSC::BytecodeGenerator::isSuperUsedInInnerArrowFunction):\n(JSC::BytecodeGenerator::isSuperCallUsedInInnerArrowFunction):\n(JSC::BytecodeGenerator::emitPutThisToArrowFunctionContextScope):\n* interpreter/Interpreter.cpp:\n(JSC::eval):\n* parser/Parser.cpp:\n(JSC::Parser<LexerType>::Parser):\n(JSC::Parser<LexerType>::parseFunctionInfo):\n(JSC::Parser<LexerType>::parseMemberExpression):\n* parser/Parser.h:\n(JSC::Scope::Scope):\n(JSC::Scope::isEvalContext):\n(JSC::Scope::setIsEvalContext):\n(JSC::parse):\n* runtime/CodeCache.cpp:\n(JSC::CodeCache::getGlobalCodeBlock):\n* tests/stress/arrowfunction-lexical-bind-supercall-4.js:\n* tests/stress/arrowfunction-lexical-bind-superproperty.js:\n* tests/stress/class-syntax-super-in-eval.js: Added.\n* tests/stress/generator-with-super.js:\n\nLayoutTests:\n\n* js/class-syntax-super-expected.txt:\n* js/script-tests/class-syntax-super.js:\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@198324 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/20a70ead8331a8d4fdb06a076afc4f17d28af066"}]}