Title: [202673] trunk/Source/_javascript_Core
Revision
202673
Author
benja...@webkit.org
Date
2016-06-29 22:57:22 -0700 (Wed, 29 Jun 2016)

Log Message

Fix the debug build after r202667

* runtime/JSTypedArrayViewPrototype.cpp:
(JSC::JSTypedArrayViewPrototype::finishCreation):
The putDirect was missing the Accessor flag for the GetterSetter.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (202672 => 202673)


--- trunk/Source/_javascript_Core/ChangeLog	2016-06-30 05:10:01 UTC (rev 202672)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-06-30 05:57:22 UTC (rev 202673)
@@ -1,3 +1,11 @@
+2016-06-29  Benjamin Poulain  <benja...@webkit.org>
+
+        Fix the debug build after r202667
+
+        * runtime/JSTypedArrayViewPrototype.cpp:
+        (JSC::JSTypedArrayViewPrototype::finishCreation):
+        The putDirect was missing the Accessor flag for the GetterSetter.
+
 2016-06-29  Michael Saboff  <msab...@apple.com>
 
         REGRESSION(200114): Netflix app does not see ChromeCast

Modified: trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp (202672 => 202673)


--- trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp	2016-06-30 05:10:01 UTC (rev 202672)
+++ trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp	2016-06-30 05:57:22 UTC (rev 202673)
@@ -282,7 +282,7 @@
     JSFunction* toStringTagFunction = JSFunction::create(vm, globalObject, 0, ASCIILiteral("get [Symbol.toStringTag]"), typedArrayViewProtoGetterFuncToStringTag, NoIntrinsic);
     GetterSetter* toStringTagAccessor = GetterSetter::create(vm, globalObject);
     toStringTagAccessor->setGetter(vm, globalObject, toStringTagFunction);
-    putDirectNonIndexAccessor(vm, vm.propertyNames->toStringTagSymbol, toStringTagAccessor, DontEnum | ReadOnly);
+    putDirectNonIndexAccessor(vm, vm.propertyNames->toStringTagSymbol, toStringTagAccessor, DontEnum | ReadOnly | Accessor);
 
     JSFunction* valuesFunction = JSFunction::createBuiltinFunction(vm, typedArrayPrototypeValuesCodeGenerator(vm), globalObject);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to