Commit fe67b206 authored by whesse@chromium.org's avatar whesse@chromium.org

Fix X64 compilation on Windows.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0da3dc3e
// 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 // Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are // modification, are permitted provided that the following conditions are
// met: // met:
...@@ -44,7 +44,7 @@ using namespace v8::internal; ...@@ -44,7 +44,7 @@ using namespace v8::internal;
// Removes trailing '0' digits. // Removes trailing '0' digits.
// Can return the empty string if all digits are 0. // Can return the empty string if all digits are 0.
static void TrimRepresentation(Vector<char> representation) { static void TrimRepresentation(Vector<char> representation) {
int len = strlen(representation.start()); int len = StrLength(representation.start());
int i; int i;
for (i = len - 1; i >= 0; --i) { for (i = len - 1; i >= 0; --i) {
if (representation[i] != '0') break; if (representation[i] != '0') break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment