@@ -1128,22 +1128,22 @@ void FinishOffThreadStencil(
1128
1128
*stencil = std::move (retval);
1129
1129
}
1130
1130
1131
- JS::BigInt* JS_StringToBigInt (JSContext* cx, mozilla::Range<const JS::Latin1Char> chars) {
1132
- return JS::StringToBigInt (cx, chars);
1131
+ JS::BigInt* JS_StringToBigInt (JSContext* cx, const mozilla::Range<const JS::Latin1Char>* chars) {
1132
+ return JS::StringToBigInt (cx, * chars);
1133
1133
}
1134
1134
1135
- JS::BigInt* JS_StringToBigInt1 (JSContext* cx, mozilla::Range<const char16_t > chars) {
1136
- return JS::StringToBigInt (cx, chars);
1135
+ JS::BigInt* JS_StringToBigInt1 (JSContext* cx, const mozilla::Range<const char16_t >* chars) {
1136
+ return JS::StringToBigInt (cx, * chars);
1137
1137
}
1138
1138
1139
- bool CopyStringChars (JSContext* cx, mozilla::Range<char16_t > dest,
1139
+ bool CopyStringChars (JSContext* cx, const mozilla::Range<char16_t >* dest,
1140
1140
JSString* str) {
1141
- return JS_CopyStringChars (cx, dest, str);
1141
+ return JS_CopyStringChars (cx, * dest, str);
1142
1142
}
1143
1143
1144
1144
JS::Latin1CharsZ LossyTwoByteCharsToNewLatin1CharsZ (
1145
- JSContext* cx, const mozilla::Range<const char16_t > tbchars) {
1146
- return JS::LossyTwoByteCharsToNewLatin1CharsZ (cx, tbchars);
1145
+ JSContext* cx, const mozilla::Range<const char16_t >* tbchars) {
1146
+ return JS::LossyTwoByteCharsToNewLatin1CharsZ (cx, * tbchars);
1147
1147
}
1148
1148
1149
1149
} // extern "C"
0 commit comments