Unreviewed. Fix debug assertion after r222671.
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Oct 2017 17:09:08 +0000 (17:09 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Oct 2017 17:09:08 +0000 (17:09 +0000)
JSTestCustomGetterSetter::finishCreation needs to call its base's finishCreation implementation.

* jsc.cpp:
(JSTestCustomGetterSetter::finishCreation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jsc.cpp

index 73632ee..a9f3ace 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-02  Saam Barati  <sbarati@apple.com>
+
+        Unreviewed. Fix debug assertion after r222671. 
+
+        JSTestCustomGetterSetter::finishCreation needs to call its base's finishCreation implementation.
+
+        * jsc.cpp:
+        (JSTestCustomGetterSetter::finishCreation):
+
 2017-10-01  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r222564.
index 181182e..c064664 100644 (file)
@@ -1127,6 +1127,8 @@ static bool customSetValue(ExecState* exec, EncodedJSValue slotValue, EncodedJSV
 
 void JSTestCustomGetterSetter::finishCreation(VM& vm)
 {
+    Base::finishCreation(vm);
+
     putDirectCustomAccessor(vm, Identifier::fromString(&vm, "customValue"),
         CustomGetterSetter::create(vm, customGetValue, customSetValue), 0);
     putDirectCustomAccessor(vm, Identifier::fromString(&vm, "customAccessor"),