Title: [262239] trunk/Source/_javascript_Core
- Revision
- 262239
- Author
- mark....@apple.com
- Date
- 2020-05-28 07:28:35 -0700 (Thu, 28 May 2020)
Log Message
Gardening: Add an assertNoException() to placate the exception checker and green the bots.
https://bugs.webkit.org/show_bug.cgi?id=212248
Not reviewed.
This solution was pointed out by Caio Lima in https://bugs.webkit.org/show_bug.cgi?id=212248#c10.
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (262238 => 262239)
--- trunk/Source/_javascript_Core/ChangeLog 2020-05-28 08:40:41 UTC (rev 262238)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-05-28 14:28:35 UTC (rev 262239)
@@ -1,3 +1,15 @@
+2020-05-28 Mark Lam <mark....@apple.com>
+
+ Gardening: Add an assertNoException() to placate the exception checker and green the bots.
+ https://bugs.webkit.org/show_bug.cgi?id=212248
+
+ Not reviewed.
+
+ This solution was pointed out by Caio Lima in https://bugs.webkit.org/show_bug.cgi?id=212248#c10.
+
+ * runtime/JSGlobalObject.cpp:
+ (JSC::JSGlobalObject::init):
+
2020-05-27 Saam Barati <sbar...@apple.com>
hasOwnProperty inside structure property for-in loop should use an opcode like has_structure_property but for hasOwnProperty
Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp (262238 => 262239)
--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp 2020-05-28 08:40:41 UTC (rev 262238)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp 2020-05-28 14:28:35 UTC (rev 262239)
@@ -1051,6 +1051,7 @@
{
JSValue hasOwnPropertyFunction = jsCast<JSFunction*>(objectPrototype()->get(this, vm.propertyNames->hasOwnProperty));
+ catchScope.assertNoException();
RELEASE_ASSERT(!!jsDynamicCast<JSFunction*>(vm, hasOwnPropertyFunction));
m_linkTimeConstants[static_cast<unsigned>(LinkTimeConstant::hasOwnPropertyFunction)].set(vm, this, jsCast<JSFunction*>(hasOwnPropertyFunction));
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes