aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/wtf
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-04-12 15:49:31 +0200
committerLars Knoll <lars.knoll@digia.com>2013-04-12 17:30:23 +0200
commit1cdcfa500ac971727d57db8edcb41abe38516e5a (patch)
tree495ebdf272370938951de20fdc0eb81c9e137a5a /src/3rdparty/masm/wtf
parentfd09b7d9b54ccb4d737747ee7fba26f15f4901cd (diff)
Apply modifications on top of WTF/JSC
* Extend FunctionPtr by another overloaded constructor that allows passing 6 arguments * Work around STL <> WTF incompatibilities with iterators * Remove unused printInternal functions that rely on CString/WTFString Change-Id: Ie0cc503288871cb594716e47e03dd509b1b5ac85 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/masm/wtf')
-rw-r--r--src/3rdparty/masm/wtf/PrintStream.cpp10
-rw-r--r--src/3rdparty/masm/wtf/PrintStream.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/src/3rdparty/masm/wtf/PrintStream.cpp b/src/3rdparty/masm/wtf/PrintStream.cpp
index c6123e1714..3bf362e281 100644
--- a/src/3rdparty/masm/wtf/PrintStream.cpp
+++ b/src/3rdparty/masm/wtf/PrintStream.cpp
@@ -52,16 +52,6 @@ void printInternal(PrintStream& out, const char* string)
out.printf("%s", string);
}
-void printInternal(PrintStream& out, const CString& string)
-{
- out.print(string.data());
-}
-
-void printInternal(PrintStream& out, const String& string)
-{
- out.print(string.utf8());
-}
-
void printInternal(PrintStream& out, bool value)
{
if (value)
diff --git a/src/3rdparty/masm/wtf/PrintStream.h b/src/3rdparty/masm/wtf/PrintStream.h
index 7549c17f84..6fcf9c1567 100644
--- a/src/3rdparty/masm/wtf/PrintStream.h
+++ b/src/3rdparty/masm/wtf/PrintStream.h
@@ -209,11 +209,7 @@ public:
};
WTF_EXPORT_PRIVATE void printInternal(PrintStream&, const char*);
-WTF_EXPORT_PRIVATE void printInternal(PrintStream&, const CString&);
-WTF_EXPORT_PRIVATE void printInternal(PrintStream&, const String&);
inline void printInternal(PrintStream& out, char* value) { printInternal(out, static_cast<const char*>(value)); }
-inline void printInternal(PrintStream& out, CString& value) { printInternal(out, static_cast<const CString&>(value)); }
-inline void printInternal(PrintStream& out, String& value) { printInternal(out, static_cast<const String&>(value)); }
WTF_EXPORT_PRIVATE void printInternal(PrintStream&, bool);
WTF_EXPORT_PRIVATE void printInternal(PrintStream&, int);
WTF_EXPORT_PRIVATE void printInternal(PrintStream&, unsigned);