Title: [277762] branches/safari-612.1.15.1-branch/Source/_javascript_Core/runtime/JSCJSValue.cpp
- Revision
- 277762
- Author
- repst...@apple.com
- Date
- 2021-05-19 17:05:57 -0700 (Wed, 19 May 2021)
Log Message
Unreviewed build fix, rdar://problem/78224090
./runtime/JSCJSValue.cpp:262:70: error: no member named 'callSetter' in 'JSC::GetterSetter'
Modified Paths
Diff
Modified: branches/safari-612.1.15.1-branch/Source/_javascript_Core/runtime/JSCJSValue.cpp (277761 => 277762)
--- branches/safari-612.1.15.1-branch/Source/_javascript_Core/runtime/JSCJSValue.cpp 2021-05-19 23:10:14 UTC (rev 277761)
+++ branches/safari-612.1.15.1-branch/Source/_javascript_Core/runtime/JSCJSValue.cpp 2021-05-20 00:05:57 UTC (rev 277762)
@@ -259,7 +259,7 @@
JSValue gs = obj->getDirect(offset);
if (gs.isGetterSetter())
- RELEASE_AND_RETURN(scope, jsCast<GetterSetter*>(gs)->callSetter(globalObject, *this, value, slot.isStrictMode()));
+ RELEASE_AND_RETURN(scope, callSetter(globalObject, *this, gs, value, slot.isStrictMode() ? ECMAMode::strict() : ECMAMode::sloppy()));
if (gs.isCustomGetterSetter()) {
auto setter = jsCast<CustomGetterSetter*>(gs.asCell())->setter();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes