Index: test/cctest/test-bignum-dtoa.cc |
=================================================================== |
--- test/cctest/test-bignum-dtoa.cc (revision 6610) |
+++ test/cctest/test-bignum-dtoa.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright 2010 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -44,7 +44,7 @@ |
// Removes trailing '0' digits. |
// Can return the empty string if all digits are 0. |
static void TrimRepresentation(Vector<char> representation) { |
- int len = strlen(representation.start()); |
+ int len = StrLength(representation.start()); |
int i; |
for (i = len - 1; i >= 0; --i) { |
if (representation[i] != '0') break; |