diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h b/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h index 757c9dcac..f4512e405 100644 --- a/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h +++ b/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.h @@ -24,39 +24,39 @@ #ifndef JSGlobalObjectFunctions_h #define JSGlobalObjectFunctions_h -#include "JSValue.h" +#include "JSCJSValue.h" #include <wtf/unicode/Unicode.h> namespace JSC { - class ArgList; - class ExecState; - class JSObject; - - // FIXME: These functions should really be in JSGlobalObject.cpp, but putting them there - // is a 0.5% reduction. - - EncodedJSValue JSC_HOST_CALL globalFuncEval(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncParseInt(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncParseFloat(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncIsNaN(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncIsFinite(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncDecodeURI(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncDecodeURIComponent(ExecState*); - EncodedJSValue JSC_HOST_CALL globalFuncEncodeURI(ExecState*); - 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 LChar*, int length, int radix); - ALWAYS_INLINE double parseIntOverflow(const char* s, int length, int radix) { return parseIntOverflow(reinterpret_cast<const LChar*>(s), length, radix); } - double parseIntOverflow(const UChar*, int length, int radix); - bool isStrWhiteSpace(UChar); - double jsToNumber(const WTF::String&); +class ArgList; +class ExecState; +class JSObject; + +// FIXME: These functions should really be in JSGlobalObject.cpp, but putting them there +// is a 0.5% reduction. + +EncodedJSValue JSC_HOST_CALL globalFuncEval(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncParseInt(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncParseFloat(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncIsNaN(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncIsFinite(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncDecodeURI(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncDecodeURIComponent(ExecState*); +EncodedJSValue JSC_HOST_CALL globalFuncEncodeURI(ExecState*); +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 LChar*, int length, int radix); +ALWAYS_INLINE double parseIntOverflow(const char* s, int length, int radix) { return parseIntOverflow(reinterpret_cast<const LChar*>(s), length, radix); } +double parseIntOverflow(const UChar*, int length, int radix); +bool isStrWhiteSpace(UChar); +double jsToNumber(const WTF::String&); } // namespace JSC |