mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger
This commit is contained in:
parent
a471a1864a
commit
5bcf1f98f0
@ -188,6 +188,10 @@ namespace js {
|
||||
extern bool
|
||||
EqualStrings(JSContext *cx, JSString *str1, JSString *str2, bool *result);
|
||||
|
||||
/* Use the infallible method instead! */
|
||||
extern bool
|
||||
EqualStrings(JSContext *cx, JSLinearString *str1, JSLinearString *str2, bool *result) MOZ_DELETE;
|
||||
|
||||
/* EqualStrings is infallible on linear strings. */
|
||||
extern bool
|
||||
EqualStrings(JSLinearString *str1, JSLinearString *str2);
|
||||
|
Loading…
Reference in New Issue
Block a user