Title: [281861] trunk/Source/_javascript_Core
Revision
281861
Author
ross.kirsl...@sony.com
Date
2021-09-01 10:57:34 -0700 (Wed, 01 Sep 2021)

Log Message

Unreviewed exception scope verification fix for r241171.

* runtime/TemporalDurationConstructor.cpp:
Add missing RELEASE_AND_RETURN.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (281860 => 281861)


--- trunk/Source/_javascript_Core/ChangeLog	2021-09-01 17:56:57 UTC (rev 281860)
+++ trunk/Source/_javascript_Core/ChangeLog	2021-09-01 17:57:34 UTC (rev 281861)
@@ -1,3 +1,10 @@
+2021-09-01  Ross Kirsling  <ross.kirsl...@sony.com>
+
+        Unreviewed exception scope verification fix for r241171.
+
+        * runtime/TemporalDurationConstructor.cpp:
+        Add missing RELEASE_AND_RETURN.
+
 2021-09-01  Myles C. Maxfield  <mmaxfi...@apple.com>
 
         Fix the Xcode build after r281838

Modified: trunk/Source/_javascript_Core/runtime/TemporalDurationConstructor.cpp (281860 => 281861)


--- trunk/Source/_javascript_Core/runtime/TemporalDurationConstructor.cpp	2021-09-01 17:56:57 UTC (rev 281860)
+++ trunk/Source/_javascript_Core/runtime/TemporalDurationConstructor.cpp	2021-09-01 17:57:34 UTC (rev 281861)
@@ -98,7 +98,7 @@
             return throwVMRangeError(globalObject, scope, "Temporal.Duration properties must be finite"_s);
     }
 
-    return JSValue::encode(TemporalDuration::tryCreateIfValid(globalObject, WTFMove(subdurations), structure));
+    RELEASE_AND_RETURN(scope, JSValue::encode(TemporalDuration::tryCreateIfValid(globalObject, WTFMove(subdurations), structure)));
 }
 
 JSC_DEFINE_HOST_FUNCTION(callTemporalDuration, (JSGlobalObject* globalObject, CallFrame*))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to