X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/runtime/JSGlobalObjectFunctions.h?ds=inline diff --git a/runtime/JSGlobalObjectFunctions.h b/runtime/JSGlobalObjectFunctions.h index 2922d61..b929f51 100644 --- a/runtime/JSGlobalObjectFunctions.h +++ b/runtime/JSGlobalObjectFunctions.h @@ -52,11 +52,13 @@ EncodedJSValue JSC_HOST_CALL globalFuncThrowTypeError(ExecState*); EncodedJSValue JSC_HOST_CALL globalFuncProtoGetter(ExecState*); EncodedJSValue JSC_HOST_CALL globalFuncProtoSetter(ExecState*); EncodedJSValue JSC_HOST_CALL globalFuncBuiltinLog(ExecState*); - + +bool checkProtoSetterAccessAllowed(ExecState*, JSObject*); + static const double mantissaOverflowLowerBound = 9007199254740992.0; double parseIntOverflow(const LChar*, unsigned length, int radix); bool isStrWhiteSpace(UChar); -double jsToNumber(const WTF::String&); +double jsToNumber(StringView); } // namespace JSC