Title: [106433] trunk/Source/_javascript_Core
Revision
106433
Author
commit-qu...@webkit.org
Date
2012-01-31 22:49:26 -0800 (Tue, 31 Jan 2012)

Log Message

Add missing JS_PRIVATE_EXPORTs
https://bugs.webkit.org/show_bug.cgi?id=77507

Patch by Hajime Morrita <morr...@chromium.org> on 2012-01-31
Reviewed by Kevin Ollivier.

* heap/MarkedSpace.h:
(MarkedSpace):
* interpreter/Interpreter.h:
(Interpreter):
* runtime/JSValue.h:
(JSValue):
* wtf/text/AtomicString.h:
(WTF::AtomicString::add):
* wtf/text/WTFString.h:
(WTF):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (106432 => 106433)


--- trunk/Source/_javascript_Core/ChangeLog	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-02-01 06:49:26 UTC (rev 106433)
@@ -1,3 +1,21 @@
+2012-01-31  Hajime Morrita  <morr...@chromium.org>
+
+        Add missing JS_PRIVATE_EXPORTs
+        https://bugs.webkit.org/show_bug.cgi?id=77507
+
+        Reviewed by Kevin Ollivier.
+
+        * heap/MarkedSpace.h:
+        (MarkedSpace):
+        * interpreter/Interpreter.h:
+        (Interpreter):
+        * runtime/JSValue.h:
+        (JSValue):
+        * wtf/text/AtomicString.h:
+        (WTF::AtomicString::add):
+        * wtf/text/WTFString.h:
+        (WTF):
+
 2012-01-31  Geoffrey Garen  <gga...@apple.com>
 
         Stop using -fomit-frame-pointer

Modified: trunk/Source/_javascript_Core/heap/MarkedSpace.h (106432 => 106433)


--- trunk/Source/_javascript_Core/heap/MarkedSpace.h	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/heap/MarkedSpace.h	2012-02-01 06:49:26 UTC (rev 106433)
@@ -87,7 +87,7 @@
     void freeBlocks(MarkedBlock* head);
 
 private:
-    void* allocateSlowCase(SizeClass&);
+    JS_EXPORT_PRIVATE void* allocateSlowCase(SizeClass&);
     void* tryAllocateHelper(MarkedSpace::SizeClass&);
     void* tryAllocate(MarkedSpace::SizeClass&);
     MarkedBlock* allocateBlock(size_t, AllocationEffort);

Modified: trunk/Source/_javascript_Core/interpreter/Interpreter.h (106432 => 106433)


--- trunk/Source/_javascript_Core/interpreter/Interpreter.h	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/interpreter/Interpreter.h	2012-02-01 06:49:26 UTC (rev 106433)
@@ -206,7 +206,7 @@
         NEVER_INLINE HandlerInfo* throwException(CallFrame*&, JSValue&, unsigned bytecodeOffset);
         NEVER_INLINE void debug(CallFrame*, DebugHookID, int firstLine, int lastLine);
         static const UString getTraceLine(CallFrame*, StackFrameCodeType, const UString&, int);
-        static void getStackTrace(JSGlobalData*, int line, Vector<StackFrame>& results);
+        JS_EXPORT_PRIVATE static void getStackTrace(JSGlobalData*, int line, Vector<StackFrame>& results);
 
         void dumpSampleData(ExecState* exec);
         void startSampling();

Modified: trunk/Source/_javascript_Core/runtime/JSValue.h (106432 => 106433)


--- trunk/Source/_javascript_Core/runtime/JSValue.h	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/runtime/JSValue.h	2012-02-01 06:49:26 UTC (rev 106433)
@@ -244,7 +244,7 @@
 
         inline const JSValue asValue() const { return *this; }
         JS_EXPORT_PRIVATE double toNumberSlowCase(ExecState*) const;
-        JSString* toStringSlowCase(ExecState*) const;
+        JS_EXPORT_PRIVATE JSString* toStringSlowCase(ExecState*) const;
         JS_EXPORT_PRIVATE JSObject* toObjectSlowCase(ExecState*, JSGlobalObject*) const;
         JS_EXPORT_PRIVATE JSObject* toThisObjectSlowCase(ExecState*) const;
 

Modified: trunk/Source/_javascript_Core/wtf/text/AtomicString.h (106432 => 106433)


--- trunk/Source/_javascript_Core/wtf/text/AtomicString.h	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/wtf/text/AtomicString.h	2012-02-01 06:49:26 UTC (rev 106433)
@@ -127,7 +127,7 @@
     ALWAYS_INLINE static PassRefPtr<StringImpl> add(const char* s, unsigned length) { return add(reinterpret_cast<const char*>(s), length); };
     WTF_EXPORT_PRIVATE static PassRefPtr<StringImpl> add(const UChar*, unsigned length, unsigned existingHash);
     WTF_EXPORT_PRIVATE static PassRefPtr<StringImpl> add(const UChar*);
-    static PassRefPtr<StringImpl> add(StringImpl*, unsigned offset, unsigned length);
+    WTF_EXPORT_PRIVATE static PassRefPtr<StringImpl> add(StringImpl*, unsigned offset, unsigned length);
     ALWAYS_INLINE static PassRefPtr<StringImpl> add(StringImpl* r)
     {
         if (!r || r->isAtomic())

Modified: trunk/Source/_javascript_Core/wtf/text/WTFString.h (106432 => 106433)


--- trunk/Source/_javascript_Core/wtf/text/WTFString.h	2012-02-01 06:39:11 UTC (rev 106432)
+++ trunk/Source/_javascript_Core/wtf/text/WTFString.h	2012-02-01 06:49:26 UTC (rev 106433)
@@ -84,7 +84,7 @@
 intptr_t charactersToIntPtr(const LChar*, size_t, bool* ok = 0); // ignores trailing garbage
 intptr_t charactersToIntPtr(const UChar*, size_t, bool* ok = 0); // ignores trailing garbage
 
-double charactersToDouble(const LChar*, size_t, bool* ok = 0, bool* didReadNumber = 0);
+WTF_EXPORT_PRIVATE double charactersToDouble(const LChar*, size_t, bool* ok = 0, bool* didReadNumber = 0);
 WTF_EXPORT_PRIVATE double charactersToDouble(const UChar*, size_t, bool* ok = 0, bool* didReadNumber = 0);
 float charactersToFloat(const LChar*, size_t, bool* ok = 0, bool* didReadNumber = 0);
 WTF_EXPORT_PRIVATE float charactersToFloat(const UChar*, size_t, bool* ok = 0, bool* didReadNumber = 0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to