Remove OS::WcsCpy from platform.h. This function is unused

and is giving us headaches on platforms not supporting wchar_t.

Review URL: http://codereview.chromium.org/11546

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@811 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
iposva@chromium.org 2008-11-20 23:16:26 +00:00
parent 3f0cc0434a
commit 3fc91f93a9
4 changed files with 0 additions and 18 deletions

View File

@ -185,11 +185,6 @@ void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) {
}
void OS::WcsCpy(Vector<wchar_t> dest, const wchar_t* src) {
wcscpy(dest.start(), src);
}
char *OS::StrDup(const char* str) {
return strdup(str);
}

View File

@ -190,11 +190,6 @@ void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) {
}
void OS::WcsCpy(Vector<wchar_t> dest, const wchar_t* src) {
wcscpy(dest.start(), src);
}
char *OS::StrDup(const char* str) {
return strdup(str);
}

View File

@ -685,13 +685,6 @@ void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) {
}
void OS::WcsCpy(Vector<wchar_t> dest, const wchar_t* src) {
int result = wcscpy_s(dest.start(), dest.length(), src);
USE(result);
ASSERT(result == 0);
}
char *OS::StrDup(const char* str) {
return _strdup(str);
}

View File

@ -205,7 +205,6 @@ class OS {
va_list args);
static void StrNCpy(Vector<char> dest, const char* src, size_t n);
static void WcsCpy(Vector<wchar_t> dest, const wchar_t* src);
static char* StrDup(const char* str);
// Support for profiler. Can do nothing, in which case ticks