X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..HEAD:/runtime/JSGlobalObjectFunctions.h diff --git a/runtime/JSGlobalObjectFunctions.h b/runtime/JSGlobalObjectFunctions.h index f4512e4..b929f51 100644 --- a/runtime/JSGlobalObjectFunctions.h +++ b/runtime/JSGlobalObjectFunctions.h @@ -25,7 +25,8 @@ #define JSGlobalObjectFunctions_h #include "JSCJSValue.h" -#include +#include +#include namespace JSC { @@ -50,13 +51,14 @@ EncodedJSValue JSC_HOST_CALL globalFuncUnescape(ExecState*); 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*, int length, int radix); -ALWAYS_INLINE double parseIntOverflow(const char* s, int length, int radix) { return parseIntOverflow(reinterpret_cast(s), length, radix); } -double parseIntOverflow(const UChar*, int length, int radix); +double parseIntOverflow(const LChar*, unsigned length, int radix); bool isStrWhiteSpace(UChar); -double jsToNumber(const WTF::String&); +double jsToNumber(StringView); } // namespace JSC