Title: [258166] branches/safari-609-branch/Source/_javascript_Core/runtime/JSGlobalObject.cpp
Revision
258166
Author
[email protected]
Date
2020-03-09 15:18:50 -0700 (Mon, 09 Mar 2020)

Log Message

Unreviewed build fix. rdar://problem/60183769

Modified Paths


Diff

Modified: branches/safari-609-branch/Source/_javascript_Core/runtime/JSGlobalObject.cpp (258165 => 258166)


--- branches/safari-609-branch/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2020-03-09 21:55:13 UTC (rev 258165)
+++ branches/safari-609-branch/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2020-03-09 22:18:50 UTC (rev 258166)
@@ -293,7 +293,7 @@
     JSObject* target = asObject(callFrame->uncheckedArgument(0));
     JSFunction* function = jsDynamicCast<JSFunction*>(vm, target);
     if (function && function->canAssumeNameAndLengthAreOriginal(vm)) {
-#if ASSERT_ENABLED
+#if !ASSERT_DISABLED
         bool result = target->hasOwnProperty(globalObject, vm.propertyNames->length);
         RETURN_IF_EXCEPTION(scope, { });
         ASSERT(result);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to