[ES6] Arrow function. Issue in access to this after eval('super()') within constructor
[WebKit-https.git] / Source / JavaScriptCore / ChangeLog
index 253b8ba..5fe3c29 100644 (file)
@@ -1,3 +1,16 @@
+2017-05-06  Oleksandr Skachkov  <gskachkov@gmail.com>
+
+        [ES6] Arrow function. Issue in access to this after eval('super()') within constructor
+        https://bugs.webkit.org/show_bug.cgi?id=171543
+
+        Reviewed by Saam Barati.
+
+        Current patch force to use 'this' within arrow function or eval 
+        from virtual scope each time, instead of using thisRegister.
+
+        * bytecompiler/BytecodeGenerator.cpp:
+        (JSC::BytecodeGenerator::ensureThis):
+
 2017-05-05  Keith Miller  <keith_miller@apple.com>
 
         Put does not properly consult the prototype chain