summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-bignum-dtoa.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-02-09 10:24:26 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-02-09 10:24:26 -0800
commita0702b54d1db35a6006644882c0b5420d8670958 (patch)
treee246bb342237e8caabd45450301cb7cc5e4ccf24 /deps/v8/test/cctest/test-bignum-dtoa.cc
parenta48a0755358d322f4a593d09c331432c10a500bc (diff)
downloadandroid-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.tar.gz
android-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.tar.bz2
android-node-v8-a0702b54d1db35a6006644882c0b5420d8670958.zip
Upgrade V8 to 3.1.2
Diffstat (limited to 'deps/v8/test/cctest/test-bignum-dtoa.cc')
-rw-r--r--deps/v8/test/cctest/test-bignum-dtoa.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/test-bignum-dtoa.cc b/deps/v8/test/cctest/test-bignum-dtoa.cc
index 51a90574d7..a696ed8e3f 100644
--- a/deps/v8/test/cctest/test-bignum-dtoa.cc
+++ b/deps/v8/test/cctest/test-bignum-dtoa.cc
@@ -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 @@ using namespace v8::internal;
// 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;