Change strlen to v8::internal::StrLength in liveedit tests (to fix compile error on windows 64)

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4447 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ricow@chromium.org 2010-04-20 10:41:38 +00:00
parent c678e44805
commit 27f460b134

View File

@ -43,10 +43,10 @@ class StringCompareInput : public Compare::Input {
StringCompareInput(const char* s1, const char* s2) : s1_(s1), s2_(s2) {
}
int getLength1() {
return strlen(s1_);
return StrLength(s1_);
}
int getLength2() {
return strlen(s2_);
return StrLength(s2_);
}
bool equals(int index1, int index2) {
return s1_[index1] == s2_[index2];
@ -100,8 +100,8 @@ void CompareStringsOneWay(const char* s1, const char* s2,
Compare::CalculateDifference(&input, &writer);
int len1 = strlen(s1);
int len2 = strlen(s2);
int len1 = StrLength(s1);
int len2 = StrLength(s2);
int pos1 = 0;
int pos2 = 0;