diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSValue.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSValue.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/JavaScriptCore/runtime/JSValue.h b/Source/JavaScriptCore/runtime/JSValue.h index a00106274..79e50fba0 100644 --- a/Source/JavaScriptCore/runtime/JSValue.h +++ b/Source/JavaScriptCore/runtime/JSValue.h @@ -93,7 +93,7 @@ namespace JSC { }; // This implements ToInt32, defined in ECMA-262 9.5. - int32_t toInt32(double); + JS_EXPORT_PRIVATE int32_t toInt32(double); // This implements ToUInt32, defined in ECMA-262 9.6. inline uint32_t toUInt32(double number) @@ -197,13 +197,12 @@ namespace JSC { // toNumber conversion is expected to be side effect free if an exception has // been set in the ExecState already. double toNumber(ExecState*) const; - UString toString(ExecState*) const; - JSString* toPrimitiveString(ExecState*) const; + JSString* toString(ExecState*) const; JSObject* toObject(ExecState*) const; JSObject* toObject(ExecState*, JSGlobalObject*) const; // Integer conversions. - double toInteger(ExecState*) const; + JS_EXPORT_PRIVATE double toInteger(ExecState*) const; double toIntegerPreserveNaN(ExecState*) const; int32_t toInt32(ExecState*) const; uint32_t toUInt32(ExecState*) const; @@ -218,7 +217,6 @@ namespace JSC { JSValue get(ExecState*, unsigned propertyName) const; JSValue get(ExecState*, unsigned propertyName, PropertySlot&) const; void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&); - void putDirect(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&); void put(ExecState*, unsigned propertyName, JSValue); JSObject* toThisObject(ExecState*) const; @@ -232,7 +230,7 @@ namespace JSC { bool isCell() const; JSCell* asCell() const; - bool isValidCallee(); + JS_EXPORT_PRIVATE bool isValidCallee(); #ifndef NDEBUG char* description(); @@ -245,11 +243,12 @@ namespace JSC { JSValue(HashTableDeletedValueTag); inline const JSValue asValue() const { return *this; } - double toNumberSlowCase(ExecState*) const; - JSObject* toObjectSlowCase(ExecState*, JSGlobalObject*) const; - JSObject* toThisObjectSlowCase(ExecState*) const; + JS_EXPORT_PRIVATE double toNumberSlowCase(ExecState*) const; + JS_EXPORT_PRIVATE JSString* toStringSlowCase(ExecState*) const; + JS_EXPORT_PRIVATE JSObject* toObjectSlowCase(ExecState*, JSGlobalObject*) const; + JS_EXPORT_PRIVATE JSObject* toThisObjectSlowCase(ExecState*) const; - JSObject* synthesizePrototype(ExecState*) const; + JS_EXPORT_PRIVATE JSObject* synthesizePrototype(ExecState*) const; JSObject* synthesizeObject(ExecState*) const; #if USE(JSVALUE32_64) |