X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/14957cd040308e3eeec43d26bae5d76da13fcd85..a253471d7f8e4d91bf6ebabab00155c3b387d3d0:/runtime/JSGlobalObjectFunctions.h diff --git a/runtime/JSGlobalObjectFunctions.h b/runtime/JSGlobalObjectFunctions.h index 36e9ac4..8833bf6 100644 --- a/runtime/JSGlobalObjectFunctions.h +++ b/runtime/JSGlobalObjectFunctions.h @@ -47,9 +47,13 @@ namespace JSC { EncodedJSValue JSC_HOST_CALL globalFuncEncodeURIComponent(ExecState*); EncodedJSValue JSC_HOST_CALL globalFuncEscape(ExecState*); EncodedJSValue JSC_HOST_CALL globalFuncUnescape(ExecState*); + EncodedJSValue JSC_HOST_CALL globalFuncThrowTypeError(ExecState*); + EncodedJSValue JSC_HOST_CALL globalFuncProtoGetter(ExecState*); + EncodedJSValue JSC_HOST_CALL globalFuncProtoSetter(ExecState*); static const double mantissaOverflowLowerBound = 9007199254740992.0; - double parseIntOverflow(const char*, int length, int radix); + 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); bool isStrWhiteSpace(UChar); double jsToNumber(const UString& s);