Title: [270719] trunk/Source/_javascript_Core
- Revision
- 270719
- Author
- [email protected]
- Date
- 2020-12-11 16:43:52 -0800 (Fri, 11 Dec 2020)
Log Message
REGRESSION (r270665): testapi failing on JSC bots
https://bugs.webkit.org/show_bug.cgi?id=219787
Reviewed by Saam Barati.
* API/JSValueRef.cpp:
(JSValueIsString):
(JSValueIsObject):
(JSValueIsSymbol):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/JSValueRef.cpp (270718 => 270719)
--- trunk/Source/_javascript_Core/API/JSValueRef.cpp 2020-12-12 00:32:06 UTC (rev 270718)
+++ trunk/Source/_javascript_Core/API/JSValueRef.cpp 2020-12-12 00:43:52 UTC (rev 270719)
@@ -150,7 +150,7 @@
JSLockHolder locker(globalObject);
return toJS(globalObject, value).isString();
#else
- return toJS(value).isString();
+ return value && toJS(value).isString();
#endif
}
@@ -165,7 +165,7 @@
JSLockHolder locker(globalObject);
return toJS(globalObject, value).isObject();
#else
- return toJS(value).isObject();
+ return value && toJS(value).isObject();
#endif
}
@@ -180,7 +180,7 @@
JSLockHolder locker(globalObject);
return toJS(globalObject, value).isSymbol();
#else
- return toJS(value).isSymbol();
+ return value && toJS(value).isSymbol();
#endif
}
Modified: trunk/Source/_javascript_Core/ChangeLog (270718 => 270719)
--- trunk/Source/_javascript_Core/ChangeLog 2020-12-12 00:32:06 UTC (rev 270718)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-12-12 00:43:52 UTC (rev 270719)
@@ -1,3 +1,15 @@
+2020-12-11 Tadeu Zagallo <[email protected]>
+
+ REGRESSION (r270665): testapi failing on JSC bots
+ https://bugs.webkit.org/show_bug.cgi?id=219787
+
+ Reviewed by Saam Barati.
+
+ * API/JSValueRef.cpp:
+ (JSValueIsString):
+ (JSValueIsObject):
+ (JSValueIsSymbol):
+
2020-12-11 Caio Lima <[email protected]>
[JIT] Require value registers explicitly on emitValueProfilingSite
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes