Revision: 4447
Author: [email protected]
Date: Tue Apr 20 03:41:38 2010
Log: Change strlen to v8::internal::StrLength in liveedit tests (to fix
compile error on windows 64)
Review URL: http://codereview.chromium.org/1610038
http://code.google.com/p/v8/source/detail?r=4447
Modified:
/branches/bleeding_edge/test/cctest/test-liveedit.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-liveedit.cc Mon Apr 19
09:08:26 2010
+++ /branches/bleeding_edge/test/cctest/test-liveedit.cc Tue Apr 20
03:41:38 2010
@@ -43,10 +43,10 @@
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 @@
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;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev